0

I need to access on file in the container but the container is not starting. Have any way to access(see) this file inside the Docker container with the container in stop state?

I need to do a troubleshooting...

Fperuso
  • 41
  • 5
  • 1
    Can you `docker run` a new container, maybe with an interactive debugging shell replacing the main container process, and reproduce the issue from there? – David Maze Sep 28 '21 at 15:02
  • Or, if David's suggestion does not work, can you use `docker cp` to copy the file out of the container? – Nick ODell Sep 28 '21 at 15:03
  • Thanks @NickODell and Hans! I understand the sugestions, but is litle different. I don't want copy something to inside I need to get something. But I think that is not possible. – Fperuso Sep 28 '21 at 15:33
  • Thanks @DavidMaze. I need to discover how I can do it... But looks like a alternative for my problem – Fperuso Sep 28 '21 at 15:36

0 Answers0