Giter VIP home page Giter VIP logo

Comments (6)

mattnworb avatar mattnworb commented on July 3, 2024

Beyond any incompatibilities in the shell script you can also always run it as a docker container itself

from docker-gc.

gudata avatar gudata commented on July 3, 2024

Why not just use the shell script directly?

from docker-gc.

nicodewet avatar nicodewet commented on July 3, 2024

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.

konstruktoid avatar konstruktoid commented on July 3, 2024

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.

nicodewet avatar nicodewet commented on July 3, 2024

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.

stale avatar stale commented on July 3, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.