About 660,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 container …

  2. How do I get a console-like connection into a Docker container's shell ...

    Here are some related resources: openssh-server doesn't start in Docker container How to get bash or ssh into a running container in background mode? Can you run GUI applications in a Linux Docker …

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

    86 If you are using 'docker-compose' as the method to spin up your container (s), there is actually a useful way to pass an environment variable defined on your server to the Docker container. In your …

  4. Sudden Docker error about "client API version" - Stack Overflow

    Nov 11, 2025 · Docker doesn’t always keep the client-server API versions in perfect sync, so if the daemon jumps to something like 1.44 and your TestContainers setup is still locked on 1.32, it just …

  5. 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 now you will …

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

  7. How do I run a docker instance from a DockerFile?

    Mar 18, 2016 · Download Dockerfile and Build a Docker Image Download the Dockerfile to a directory on your machine, and from that same directory, run the following docker build command. Make sure …

  8. How to create named and latest tag in Docker? - Stack Overflow

    12 To give tag to a docker file during build command: docker build -t image_name:tag_name . otherwise it will give latest tag to your docker image automatically.

  9. docker - Correct way to detach from a container without stopping it ...

    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

  10. How to install tzdata on a ubuntu docker image? - Server Fault

    Jan 21, 2019 · How to install tzdata on a ubuntu docker image? Ask Question Asked 6 years, 11 months ago Modified 2 years, 5 months ago