Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
Daniel 7774d25f40 init 2 лет назад
.docker init 2 лет назад
.idea init 2 лет назад
logs init 2 лет назад
public init 2 лет назад
README.md init 2 лет назад

README.md

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

  1. Stop the container(s) using the following command: docker-compose down
  2. Delete all containers using the following command: docker rm -f $(docker ps -a -q)
  3. Delete all volumes using the following command: docker volume rm $(docker volume ls -q)
  4. Restart the containers using the following command: docker-compose up -d