depends_on:
- db
command:
echo "ServerName localhost" >> /etc/apache2/apache2.conf
Now when I'm running docker-compose this is the output:
phpmyadmin | Adding the custom upload limit.
phpmyadmin | ServerName localhost >> /etc/apache2/apache2.conf
phpmyadmin | Adding the custom upload limit.
phpmyadmin | ServerName localhost >> /etc/apache2/apache2.conf
phpmyadmin | Adding the custom upload limit.
phpmyadmin | ServerName localhost >> /etc/apache2/apache2.conf
phpmyadmin | Adding the custom upload limit.
phpmyadmin | ServerName localhost >> /etc/apache2/apache2.conf
phpmyadmin | Adding the custom upload limit.
phpmyadmin | ServerName localhost >> /etc/apache2/apache2.conf
phpmyadmin | Adding the custom upload limit.
phpmyadmin | ServerName localhost >> /etc/apache2/apache2.conf
phpmyadmin | Adding the custom upload limit.
phpmyadmin | ServerName localhost >> /etc/apache2/apache2.conf
phpmyadmin | Adding the custom upload limit.
phpmyadmin | ServerName localhost >> /etc/apache2/apache2.conf
phpmyadmin | Adding the custom upload limit.
phpmyadmin | ServerName localhost >> /etc/apache2/apache2.conf
phpmyadmin | Adding the custom upload limit.
phpmyadmin | ServerName localhost >> /etc/apache2/apache2.conf
phpmyadmin | Adding the custom upload limit.
phpmyadmin | ServerName localhost >> /etc/apache2/apache2.conf
phpmyadmin | Adding the custom upload limit.
phpmyadmin | ServerName localhost >> /etc/apache2/apache2.conf
phpmyadmin | Adding the custom upload limit.
phpmyadmin | ServerName localhost >> /etc/apache2/apache2.conf
phpmyadmin | Adding the custom upload limit.
phpmyadmin | ServerName localhost >> /etc/apache2/apache2.conf
phpmyadmin | Adding the custom upload limit.
phpmyadmin | ServerName localhost >> /etc/apache2/apache2.conf
phpmyadmin | Adding the custom upload limit.
phpmyadmin | ServerName localhost >> /etc/apache2/apache2.conf
phpmyadmin | Adding the custom upload limit.
phpmyadmin | ServerName localhost >> /etc/apache2/apache2.conf
phpmyadmin | Adding the custom upload limit.
phpmyadmin | ServerName localhost >> /etc/apache2/apache2.conf
phpmyadmin | Adding the custom upload limit.
phpmyadmin | ServerName localhost >> /etc/apache2/apache2.conf
phpmyadmin | Adding the custom upload limit.
phpmyadmin | ServerName localhost >> /etc/apache2/apache2.conf
phpmyadmin | Adding the custom upload limit.
phpmyadmin | ServerName localhost >> /etc/apache2/apache2.conf
phpmyadmin | Adding the custom upload limit.
phpmyadmin | ServerName localhost >> /etc/apache2/apache2.conf
phpmyadmin | Adding the custom upload limit.
phpmyadmin | ServerName localhost >> /etc/apache2/apache2.conf
phpmyadmin | Adding the custom upload limit.
phpmyadmin | ServerName localhost >> /etc/apache2/apache2.conf
phpmyadmin | Adding the custom upload limit.
phpmyadmin | ServerName localhost >> /etc/apache2/apache2.conf
phpmyadmin | Adding the custom upload limit.
phpmyadmin | ServerName localhost >> /etc/apache2/apache2.conf
phpmyadmin exited with code 0
mysql exited with code 139
What's wrong?
command is the instruction on how to start the container. if you put like that, your container will never start
Обсуждают сегодня