Answers for "volumes docker compose"

9

docker mount volume

docker run -v /host/directory:/container/directory -other -options image_name command_to_run
Posted by: Guest on September-16-2020
0

healthcheck docker compose

healthcheck:
  test: ["CMD", "curl", "-f", "http://localhost"]
  interval: 1m30s
  timeout: 10s
  retries: 3
  start_period: 40s
Posted by: Guest on November-25-2020

Browse Popular Code Answers by Language