Docker: Peeking into a running container

By | March 6, 2018

Open up Powershell

Go into a container:

docker exec -it <mycontainer> bash

opening files in a container:

show file list:

ls

show file list:

change dir: cd {directory}

Show file content:

cat {filename}

Leave a Reply

Your email address will not be published. Required fields are marked *