About 567,000 results
Open links in new tab
  1. How to list containers in Docker - Stack Overflow

    May 30, 2013 · In Docker 1.13, we regrouped every command to sit under the logical object it’s interacting with. For example list and start of containers are now subcommands of docker …

  2. docker - Privileged containers and capabilities - Stack Overflow

    Jan 1, 2018 · The Docker run command documentation refers to this flag: Full container capabilities (--privileged) The --privileged flag gives all capabilities to the container, and it also …

  3. Docker run -p ?/? (what are this two port numbers and what they ...

    Jun 1, 2020 · The Docker run reference and Container networking Docker documentation explain the -p syntax.

  4. docker - chmod: changing permissions of 'myscript.sh' : Operation …

    May 16, 2019 · 25 Set the permissions before you build the image chmod +x scripts/myScript.sh docker build . docker will keep the permissions when it copies the files.

  5. Docker - How can run the psql command in the postgres container?

    May 8, 2016 · docker-compose -f < specific docker-compose.yml> exec postgres bash For example if you want to run the command with a docker-compose file called local.yml, here the …

  6. What is a docker-compose.yml file? - Stack Overflow

    Mar 15, 2022 · A docker-compose file is a YAML file that allows us to deploy multiples Docker containers at the same time. I'd like to be able to explain a bit better what a docker-compose …

  7. Understanding docker run -v command - Stack Overflow

    I was just going through this tutorial on Youtube, trying to understand the use of the -v option at the run command. Why is the author using the -v option? He uses the command, like so: …

  8. Docker - a way to give access to a host USB or serial device?

    Jun 15, 2014 · Last time I checked, Docker didn't have any means to give container access to host serial or USB port. Is there a trick which allows doing that?

  9. What is the point of WORKDIR on Dockerfile? - Stack Overflow

    Jun 27, 2018 · Applying the Example to Docker It's kinda very similar to setting the WORKDIR - it is a specific location (or path) in your container, which can set implicitly if you want to. …

  10. How do I pass environment variables to Docker containers?

    Dec 29, 2022 · There are several ways to pass environment variables to the container including using docker-compose (best choice if possible). I recommend using an env file for easier …

Refresh