Skip to content

Clarified that 'rm' removes data and containers - #1169

Closed
ChrisChinchilla wants to merge 3 commits into
docker:masterfrom
ChrisChinchilla:master
Closed

ChrisChinchilla wants to merge 3 commits into
docker:masterfrom
ChrisChinchilla:master

Conversation

@ChrisChinchilla

Copy link
Copy Markdown

As per issue - #190

Signed-off-by: Chris Ward [email protected]

@dnephin

dnephin commented Oct 6, 2015

Copy link
Copy Markdown

@ChrisChinchilla sorry for the slow response. I think it would be good to clarify this. You'll need to update this PR since we've moved this into a new file docs/reference/rm.md

@moxiegirl any suggestions for the wording here?

Comment thread docs/cli.md Outdated

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Removes stopped service containers. Ay data stored in the container's local storage is lost when a container is removed.

@moxiegirl

Copy link
Copy Markdown

@ChrisChinchilla Thanks! @dnephin I don't know if we need to mention mounted data persists or not.

@ChrisChinchilla

Copy link
Copy Markdown
Author

@dnephin @moxiegirl Do you still need me to do anything? Sorry, this was all a while ago :)

@dnephin

dnephin commented Oct 15, 2015

Copy link
Copy Markdown

You'll need to rebase with master, the file was moved

@GordonTheTurtle

Copy link
Copy Markdown

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:

$ git clone -b "master" [email protected]:ChrisChinchilla/compose.git somewhere
$ cd somewhere
$ git rebase -i HEAD~3
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

@ChrisChinchilla

Copy link
Copy Markdown
Author

@dnephin done. I'm getting the signing error above ^ and the steps don't work for me, but reading this (https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work) it implies that the sign-off I did at the beginning here is still valid.

@aanand

aanand commented Nov 27, 2015

Copy link
Copy Markdown

Every non-merge commit needs to be signed off. You've currently got 3 commits: one signed, one merge commit, one unsigned.

The cleanest thing would be to rebase on the current master so there's a single commit, make sure it's signed off, and force-push that to your fork.

@aanand

aanand commented Dec 17, 2015

Copy link
Copy Markdown

Closing in favour of #2554, now that we've got a docker volume command. Thanks for the PR!

@aanand aanand closed this Dec 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants