28 lines
832 B
Markdown
28 lines
832 B
Markdown
|
# Bugzilla4Intranet Docker image
|
||
|
|
||
|
build it:
|
||
|
|
||
|
docker build -t bugzilla4intranet .
|
||
|
|
||
|
Run it:
|
||
|
|
||
|
docker run --name bz4i -p 8158:8157 -v /home/data -t -d bugzilla4intranet
|
||
|
|
||
|
Then point your browser to localhost:8158 and configure your Bugzilla.
|
||
|
|
||
|
# 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**!
|