Non puoi selezionare più di 25 argomenti
Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
contao-docker-test
#Installation:
Some important information
Some helpful docker commands:
docker-compose up -d
docker-compose down
docker exec -it tb-con-tbuddy /bin/bash
docker build -t tb-con-tbuddy .
docker image rm tb_spt_image
docker ps
docker ps --all
docker container stop $(docker container ls -aq)
docker container rm $(docker container ls -aq)
docker rmi $(docker images -q)
docker stop spt_tbuddy && docker rm spt_tbuddy && docker rmi spt_tb && docker-compose up -d
Some helpful other commands:
- Restart Apache within the container
- Go into docker container
docker exec -it spt_tbuddy /bin/bash
- Apache restart
sudo /etc/init.d/apache2 reload
Clean restart of Docker instance
- Stop the container(s) using the following command:
docker-compose down
- Delete all containers using the following command:
docker rm -f $(docker ps -a -q)
- Delete all volumes using the following command:
docker volume rm $(docker volume ls -q)
- Restart the containers using the following command:
docker-compose up -d