Sign inSign up

bbinet/hooked

By bbinet

Updated over 8 years ago

Image
1

10K+

bbinet/hooked repository overview

docker-hooked

Hooked (run command on GitHub and BitBucket POST request hooks) docker container.

Build

To create the image bbinet/hooked, execute the following command in the docker-hooked folder:

docker build -t bbinet/hooked .

You can now push the new image to the public registry:

docker push bbinet/hooked

Run

Then, when starting your hooked container, you will want to bind ports 80 from the hooked container to a host external port. The hooked container will read its configuration from the /config/hooked.cfg file, so make sure this file is available to docker as a volume.

For example:

$ docker pull bbinet/hooked

$ docker run --name hooked \
    -v /home/hooked/config:/config \
    -p 80:80 \
    bbinet/hooked

Tag summary

Content type

Image

Digest

sha256:7337e1e00

Size

72.7 MB

Last updated

over 8 years ago

docker pull bbinet/hooked