Jimmy Sanchez
Jimmy Sanchez

Reputation: 741

Browse container file system at rest

How can I browse the container filesystem when it is at rest.

I'm not looking for volumes or the path to the container's filesystem when it's running.

I would like to browse the files that are on a container, while the container is stopped.

Upvotes: 2

Views: 369

Answers (1)

SuicideSheep
SuicideSheep

Reputation: 5550

One of the option is using docker cp it allows you to copy everything out from container to the host

mkdir /tmp/container_temp
docker cp example_container:/ /tmp/container_temp/

Upvotes: 2

Related Questions