As the title said. Docker-Compose is very slow while running a container. It keeps saying it’s trying to attach to… when i run “docker-compose up”. It takes about 10 minutes before the python script is running. On the other hand.. If I start “docker-compose run docker-build”…
Tag: dockerfile
Ubuntu dockerfile – mailutils install
I am installing mailutils via a dockerfile on an ubuntu image. I do this via: RUN apt-get install -y mailutils However, on this line I get the following: When I do exactly the same thing with a Debian image I do not get this option. I use the -y prefix to handle all the yes/no installation questions when usin…
Explanation of this docker file?
I am trying to understand this docker file I understood most of the lines but I don’t understand what these below lines means? Can anyone help me understand? I am not sure what is the purpose of wget supervisor docker.io openssh-server in that line. Also what does echo mean there? And then also last sed…
How can one influence the order of RUN commands in a Dockerfile?
I’m writing a Dockerfile where the root user creates a user named blog to manage website deployment. I’m using the Docker Hub wordpress container as a base. The root user creates folders under /var/www/html and gives the blog user permissions to write underneath. In the next set of RUN commands fo…
Could not install mysql-server inside docker container
I want to configure a container with MySQL, thereafter I will add a java application to the container. But, I could not install MySQL-server inside the container. here is my dockerfile: I got the following error: Errors were encountered while processing: /var/cache/apt/archives/mysql-server-5.5_5.5.44-0ubuntu…