Answer the question
In order to leave comments, you need to log in
What is the right way to make changes to docker-compose.yml and project files if the containers are already running?
I installed Docker and Docker Composer and downloaded the latest release from github
php, mariadb, apache
, etc. and put it in the project folder /var/www/html/mydrupaldocker
, and after running the images from this folder, as well as adding the drupal9 folder to the project folder, I will start installing drupal 9 in the browser..env
and docker-compose.yml
launched the container with the command: docker-compose up -d
docker-compose.yml
I have a commented code that is responsible for the php image. Accordingly, the php container was not started. docker-compose.yml
traefik is incorrectly configured in the file. And an error is thrown. docker-compose stop // остановить запущенные контейнеры
docker-compose rm // удалить остановленные контейнеры
docker-compose up -d
git add .
git commit -m "first"
Answer the question
In order to leave comments, you need to log in
1. The easiest option is to stop the containers, make changes, start over again. They will start with a new config
2. If the containers are standard, then changes to them are written as in a regular database. That is, constantly
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question