25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
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