Skip to content

Commit

Permalink
Fix #2204. Auto-remove docker containers after run.
Browse files Browse the repository at this point in the history
  • Loading branch information
Glavin001 committed Sep 29, 2018
1 parent fec8843 commit 1594ced
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,12 @@
# v0.33.3 (2018-09-28)

- Fix [#2204](https://github.com/Glavin001/atom-beautify/issues/2204). Auto-remove docker containers after run.

You can clean up old Docker containers by running:

```bash
docker ps --all | grep "unibeautify/" | awk '{ print $1 }' | xargs docker rm
```

# v0.33.2 (2018-09-26)
- (BREAKING CHANGE) Added `inline` and `content_unformatted` options from `js-beautify` html settings and cleared `unformatted`. Breaking change but generally improves the behavior to more accurately beautify html. ([#2210](https://github.com/Glavin001/atom-beautify/issues/2210), [#2215](https://github.com/Glavin001/atom-beautify/pull/2215), [js-beautify#1407](https://github.com/beautify-web/js-beautify/pull/1407))
Expand Down
1 change: 1 addition & 0 deletions src/beautifiers/executable.coffee
Expand Up @@ -450,6 +450,7 @@ class HybridExecutable extends Executable

@docker.run([
"run",
"--rm",
"--volume", "#{pwd}:#{workingDir}",
"--volume", "#{path.resolve('/')}:#{rootPath}",
"--workdir", workingDir,
Expand Down

0 comments on commit 1594ced

Please sign in to comment.