Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is the docker image still supported? #63

Closed
pgrm opened this issue Jan 26, 2016 · 15 comments
Closed

is the docker image still supported? #63

pgrm opened this issue Jan 26, 2016 · 15 comments

Comments

@pgrm
Copy link

pgrm commented Jan 26, 2016

Hi, I've found https://hub.docker.com/r/adnanh/webhook/ and wanted to use it, to build my own container which would respond to web hooks. However I saw that in beginning of November after at first adding a description about the image, it got removed again few days later.

May I ask why the docker documentation got removed again?

@adnanh
Copy link
Owner

adnanh commented Jan 26, 2016

We did not want to maintain the Dockerfile in this repository (see #50), so it got moved into webhook-contrib repository.

@pgrm
Copy link
Author

pgrm commented Jan 29, 2016

@adnanh thx for the clarification. than the first question still stays, according to https://hub.docker.com/r/adnanh/webhook/builds/ there hasn't been a successful build since beginning of November. As far as I see it, this is also the docker image referenced from the https://github.com/adnanh/webhook-contrib/issues repository. Is there maybe another image which I didn't find?

and secondly - maybe the link to the discussion could be mentioned in the readme, as it was suggested?

thx

@adnanh
Copy link
Owner

adnanh commented Feb 4, 2016

The Dockerfile in webhook-contrib repository should serve as a guide on how to make your own image.
(fork this repository, add that Dockerfile, change repo name and use that).

I am going to include a link to this discussion for the others interested in running webhook inside a container in the README.md in this repository.

I will also remove docker image from docker hub, as it's not maintained anymore, and it's now misleading users.

@pgrm
Copy link
Author

pgrm commented Feb 6, 2016

this clarifies everything, thx

@adnanh
Copy link
Owner

adnanh commented Mar 9, 2016

Now there is a good dockerized version of webhook at https://github.com/almir/docker-webhook

@lookingcloudy
Copy link

Pretty cool utility. I couldn't get this to run properly in a docker container. Webhooks itself runs fine, but can't get the build script on the host computer to run properly due to paths, access to resources that aren't mapped to the container, etc.

@kachkaev
Copy link

kachkaev commented Sep 15, 2016

Same problem as @lookingcloudy reports. Just asked @almir how to control docker containers on the host from a dockerised webhook instance: almir/docker-webhook#2. If anyone else knows the answer, will be great if you share!

@adnanh adnanh mentioned this issue Mar 24, 2017
@LWlook
Copy link

LWlook commented Jun 18, 2024

If somebody is searching for a working image. I made an image on dockerhub based on almir/docker-webhook and the official docker image, to control docker containers of the host from inside this container.
More information on lwlook/webhook

@adnanh
Copy link
Owner

adnanh commented Jun 23, 2024

If somebody is searching for a working image. I made an image on dockerhub based on almir/docker-webhook and the official docker image, to control docker containers of the host from inside this container. More information on lwlook/webhook

I can add it to README.md if you want?

@LWlook
Copy link

LWlook commented Jun 23, 2024

Yes, would be nice. Probably this will help somebody someday.

@regisin
Copy link

regisin commented Jul 3, 2024

@LWlook could you potentially give an example of how controlling the other containers would work? That's exactly what I'm looking for, but I can't figure it out.

@LWlook
Copy link

LWlook commented Jul 3, 2024

@regisin I just deployed the container like in the "Running the container"-Section described. Then i made an script with for example "docker compose up -d". But you can call in the script every docker command and it will be called on the host.

@regisin
Copy link

regisin commented Jul 4, 2024

I must be missing something. When the hook is triggered and it runs docker compose up -d it says no configuration file provided: not found.

Could you provide the functioning hooks.json, docker-compose.yaml, and redeploy.sh files?

@LWlook
Copy link

LWlook commented Jul 4, 2024

You have to make the docker-compose.yaml accessible in the container (eg mount a volume with the docker-compose file). If the docker-compose is not in the working dir, than you have to cd to that dir, or specify the location (docker compose -f /path/in/container/to/dockerfile.yaml up -d)

Check if the neccessary files are accessible IN the container and on the correct location (eg the scripts are in /opt/scripts).

@HADB
Copy link

HADB commented Jul 19, 2024

It's already 2024. Shouldn't docker be officially supported?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants