bugzilla4intranet-docker/README.md

35 lines
1.1 KiB
Markdown
Raw Permalink Normal View History

2016-12-30 17:07:41 +03:00
# Bugzilla4Intranet Docker image
2017-01-09 16:04:52 +03:00
Build it:
2016-12-30 17:07:41 +03:00
docker build -t bugzilla4intranet .
Run it:
docker run --name bz4i -p 8158:8157 -v /home/data -t -d bugzilla4intranet
2017-01-09 16:04:52 +03:00
Then point your browser to localhost:8158, login as admin@bugzilla.4intra.net
with 'bugzilla' password and configure your Bugzilla.
Please note that you should probably use SMTP to send email from inside of a
Docker container.
2016-12-30 17:07:41 +03:00
2017-01-10 19:09:18 +03:00
You can take example nginx configuration for proxying Bugzilla4Intranet from
this repo: etc/nginx/sites-available/bugzilla4intranet
2016-12-30 17:07:41 +03:00
# Docker cheatsheet
Some basic commands to work with the resulting container:
* list running containers: `docker ps`
* list all containers: `docker ps -a`
* list system images: `docker images`
* stop container: `docker stop mw4i`
* start container again: `docker start mw4i`
* run shell in the container: `docker exec -it mw4i bash`
* remove container: `docker rm <container_id>`
* remove image: `docker rmi <image_id>`
P.S: If you get "Cannot connect to the Docker daemon. Is the docker daemon running on this host?" error,
add your system user into `docker` group **and relogin**!