Skip to content

Cleanup previous executions. - #2

Open
bmustiata wants to merge 5 commits into
suchja:masterfrom
bmustiata:master
Open

bmustiata wants to merge 5 commits into
suchja:masterfrom
bmustiata:master

Conversation

@bmustiata

Copy link
Copy Markdown

Cleanup previous executions before the start, so people can run docker stop and docker start on the containers.

@suchja suchja left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution!

I'm no expert on X11, but do you think it is a good idea to remove logs and locks automatically when starting the container?
What happens, if there were some problems in the last run? There is no chance to debug it, when no information is available.

@bmustiata

Copy link
Copy Markdown
Author

You can export your container as a tar file if you're that curious. The problem that I have right now is that the container is not starting at all, so anyway I don't have a chance to debug it. After calling docker stop I can't restart it with docker start, I need to recreate the container from scratch.

Maybe an option would be to move them into a folder, but that yields other issues, such as log rotation, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants