About 754,000 results
Open links in new tab
  1. Docker Container time & timezone (will not reflect changes)

    Apr 15, 2015 · Where do Docker containers get their time information? I've created some containers from the basic ubuntu:trusty image, and when I run it and request 'date', I get UTC time. For awhile I …

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

  3. docker - How to fix a container stuck in an endless restart loop ...

    48 When docker kill CONTAINER_ID does not work and docker stop -t 1 CONTAINER_ID also does not work, you can try to delete the container: docker container rm CONTAINER_ID I had a similar issue …

  4. How can I use environment variables in docker-compose?

    I would like to be able to use environment variables inside docker-compose.yml, with values passed in at the time of docker-compose up. This is the example. I am doing this today with a basic docke...

  5. Docker: How to authenticate for docker push? - Stack Overflow

    Apr 19, 2021 · docker login -u="${DOCKER_USERNAME}" -p="${DOCKER_PASSWORD}" The Travis CI docs for docker builds gives an example of how to automate a docker login. See docker login for …

  6. 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 can I get Bash or ssh into a running container in background mode? Can you run GUI applications in a Linux Docker …

  7. Understanding docker run -v command - Stack Overflow

    133 The -v (or --volume) argument to docker run is for creating storage space inside a container that is separate from the rest of the container filesystem. There are two forms of the command. When given …

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

  9. docker - Difference between RUN and CMD in a Dockerfile - Stack …

    May 26, 2016 · I found the Docker RUN vs CMD vs ENTRYPOINT article very helpful to understand the difference between them: RUN - RUN instruction allows you to install your application and packages …

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