About 682,000 results
Open links in new tab
  1. How to fix Docker: Permission denied - Stack Overflow

    Feb 24, 2018 · I installed Docker on my Ubuntu machine. When I run sudo docker run hello-world it works. But if I write the command without sudo docker run hello-world it displays the …

  2. docker - Correct way to detach from a container without stopping …

    In Docker 1.1.2 (latest), what's the correct way to detach from a container without stopping it? So for example, if I try: docker run -i -t foo /bin/bash or docker attach foo (for already running

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

    Using docker-compose, you can inherit environment variables in docker-compose.yml and subsequently any Dockerfile (s) called by docker-compose to build images. This is useful …

  4. "docker pull" certificate signed by unknown authority

    After doing the steps above I got rid of x509: certificate signed by unknown authority but then I got 401 Unauthorized errors. To solve I needed to docker login <docker registry>

  5. 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 …

  6. docker - error during connect: Get …

    trying executing the docker run command with sudo, because the docker daemon normally needs to be run as root.

  7. Run a Docker image as a container - Stack Overflow

    Aug 28, 2013 · After building a Docker image from a dockerfile, I see the image was built successfully, but what do I do with it? Shouldn't i be able to run it as a container?

  8. What is docker run -it flag? - Stack Overflow

    Jan 21, 2018 · 73 docker run -it ubuntu:xenial /bin/bash starts the container in the interactive mode (hence -it flag) that allows you to interact with /bin/bash of the container. That means …

  9. docker - What is the difference between the 'COPY' and 'ADD' …

    Docker released an official document outlining best practices for writing Dockerfiles, which explicitly advises against using the ADD command. Docker’s official documentation notes that …

  10. docker - What is the difference between CMD and ENTRYPOINT in …

    Feb 4, 2014 · This allowed Docker to implement RUN quickly by relying on the shell's parser. Later on, people asked to be able to customize this, so ENTRYPOINT and --entrypoint were …