About 695,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. 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 …

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

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

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

  6. 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

  7. "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>

  8. Failure starting Docker container. "failed to create shim task: OCI ...

    Jun 21, 2022 · sudo docker rmi -f <image_id> Note if you don't want to keep other images related to other deleted containers, run: sudo docker image prune -a remove dangling volumes:

  9. docker - How to open/run YML compose file? - Stack Overflow

    Jun 5, 2017 · How can I open/run a YML compose file on my computer? I've installed Docker for Windows and Docker tools but couldn't figure out how.

  10. How to login to Docker Hub on the command line? - Stack Overflow

    Jul 19, 2019 · If you want to login to the default Docker Hub repository, simply use: docker login or more specifically: docker login registry-1.docker.io