-
to start jenkins, use
docker-compose up -d node
-
If you prefer to build images yourself, append
-f build-docker-compose.yaml
afterdocker-compose
. For example, to build thenode
tutorial Jenkins instance, use:docker-compose -f build-docker-compose.yaml up -d node
.
- Check the status of the container with the
docker ps
ordocker-compose ps
commands. - Access your running Jenkins instance at http://127.0.0.1:8080.
- To stop and remove running containers, use
docker compose down
. - If you encounter a
Resource is still in use
warning, use the--remove-orphans
option which would givedocker-compose down --remove-orphans
. - To remove the created volumes (should you need to restart from scratch), add the
-v
option which would givedocker-compose down -v
.