Comments (6)
Beyond any incompatibilities in the shell script you can also always run it as a docker container itself
from docker-gc.
Why not just use the shell script directly?
from docker-gc.
Because you may run into the following:
Nicos-Air:docker-gc nico$ sudo ./docker-gc
./docker-gc: line 62: pidof: command not found
Container not running 83429f340d6e015ee926e11080e66a06b5059496fda94427d93e2bd9384f880a /spr-boot-templ
So now, you can fix that with:
$ brew install pidof
But then you may get:
Nicos-Air:docker-gc nico$ sudo ./docker-gc
Password:
pidof: illegal option -- s
[Fri 15 Jul 2016 21:39:04 NZST] : docker-gc : Process is already running with PID Help:
At which point I'm leaning towards parking this and just running it as a docker container itself whilst thinking about working on Ubuntu / Debian.
from docker-gc.
Hi @nicodewet, and thanks for commenting.
When released Docker for Win or Mac wasn't available and, as you pointed out, there might be issues with the script on those platforms.
Are you having any issues when running the container?
from docker-gc.
No issues when running it as a container on mac os x as of right now following the documentation:
$ docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -v /etc:/etc spotify/docker-gc
In my case, this mode of operation is just fine.
Also, I now know that spotify-gc as a script is working just fine on the RHEL 7.2 infrastructure that I have a hand in, so life is good in terms of rolling it out on my side of the fence.
from docker-gc.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from docker-gc.
Related Issues (20)
- Docker build fails HOT 2
- map in docker binaries from host HOT 3
- Error response from daemon: client is newer than server HOT 2
- 集群环境下每台机器要装任务?
- Running as a container yields errors not in previous version HOT 1
- Documentation for running it in docker should state about privileged option
- Running as docker container fails on docker 17.03.1-ce HOT 4
- docker-gc is deleting networks required by some containers HOT 2
- Support for docker system prune HOT 2
- LOG_TO_SYSLOG unrecognized option HOT 3
- fails with volume /etc on docker for mac HOT 7
- Docker gc lists images to remove which are present in exclude file HOT 2
- The option to whitelist, not exclude. HOT 3
- How does it compare to docker system prune --all? HOT 2
- Setting REMOVE_VOLUMES=1 causes docker-gc to exit with status 1 HOT 4
- Can docker-gc handle the problem when a container stuck? HOT 1
- Any particular reason for abandoning docker-gc HOT 5
- Offer to take over maintenance HOT 1
- docker-gc exits early if `docker inspect -f {{.CreatedAt}}` fails
- Docker GC required fakeroot for building HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-gc.