Skip to content
This repository has been archived by the owner on Feb 2, 2021. It is now read-only.

Non-debian support, please? #69

Closed
benson-basis opened this issue Nov 23, 2015 · 6 comments
Closed

Non-debian support, please? #69

benson-basis opened this issue Nov 23, 2015 · 6 comments
Labels

Comments

@benson-basis
Copy link

I'd like to run this on my mac. Could that be facilitated?

@mattnworb
Copy link
Member

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

@gudata
Copy link

gudata commented Feb 7, 2016

Why not just use the shell script directly?

@nicodewet
Copy link

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.

@konstruktoid
Copy link
Contributor

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?

@nicodewet
Copy link

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.

@stale
Copy link

stale bot commented Nov 22, 2018

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.

@stale stale bot added the stale label Nov 22, 2018
@stale stale bot closed this as completed Nov 29, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants