
docker - Dockerfile if else condition with external arguments
Apr 27, 2017 · Accepted answer does not cover "if else condition" part of the question. Would be better to rename it to "Dockerfile with external arguments" if condition check didn't mean to be …
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.
Docker: adding a file from a parent directory - Stack Overflow
Jul 2, 2014 · Instruct Docker to set context: to the parent folder. For example if you have a Documents parent folder with /ssl and /my-proj subfolders you could instruct Docker to copy …
How to fix Docker: Permission denied - Stack Overflow
From the official Docker documentation "Manage Docker as a non-root user": ⚠️ Warning The docker group grants root-level privileges to the user. For details on how this impacts security in …
docker - Dockerfile copy keep subdirectory structure - Stack …
May 13, 2015 · I'm trying to copy a number of files and folders to a docker image build from my localhost. The files are like this: folder1/ file1 file2 folder2/ file1 file2 I'm trying to make th...
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
Configuring Docker to not use the 172.17.0.0 range - Server Fault
Jun 16, 2018 · Due to problems with captive portals and the default Docker IP range I am trying to make Docker use the 198.18.0.0 range, instead of 172.17.0.0, which clashes with the captive …
How do I get into a Docker container's shell? - Stack Overflow
May 11, 2015 · 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 …
Docker how to change repository name or rename image?
Like @matanster said, it's totally confusing for a docker newbie. I assume that, since docker repositories can only have one image, the image name refers directly to the repository.
'docker-compose' creating multiple instances for the same image
Sep 23, 2016 · If you are using multiple docker-compose files (like when calling docker-compose with the -f flag or setting the COMPOSE_FILE env variable), the anchor must be defined in the …