Blog Post

Exploring a Docker container’s file system

,

There are three ways to get into bash in a docker container:

docker exec -it containername bash

docker exec -it containername “bash”

docker exec -it containername /bin/bash

Once you run those from the command line, it brings you to the top level of the file system of your Docker container:

The post Exploring a Docker container’s file system appeared first on .

Original post (opens in new tab)
View comments in original post (opens in new tab)

Rate

You rated this post out of 5. Change rating

Share

Share

Rate

You rated this post out of 5. Change rating