Popular `docker` terminal commands
Copy a file from a Docker container to the current host
Copies files from a Docker container back to the host. Note the container does not need to be running in order to use this command.
Authored by: creack
Copy files from a host to a docker container
Copies a file (or multiple files) from a host machine to a container.
Authored by: Henrik Sachse
List environment variables from a Docker container
Lists all environment variables from a Docker container.
Authored by: aisbaa
Remove all stopped Docker containers
Removes all stopped containers. To clean up all unused containers, networks, images and volumes in one command, run `docker system prune`.
Authored by: Ken Cochrane
Run a script inside a docker container using a shell script
Runs a shell script located within a running Docker container.
Authored by: cortejoso
Start a Bash shell within a Docker container
Runs a Bash subshell within a Docker container.
Authored by: larsks