Top "Dockerfile" questions

A Dockerfile is a file containing instructions to build a Docker image

Permission denied to Docker daemon socket at unix:///var/run/docker.sock

I have this Dockerfile: FROM chekote/gulp:latest USER root RUN apt-get update \ && apt-get upgrade -y \ && …

bash docker gulp dockerfile docker-run
Dockerfile "RUN chmod" not taking effect

Everything else takes effect but permissions are not changing, am I missing something? FROM joomla:3.9-php7.2-apache RUN apt-get update \ &…

docker permissions dockerfile file-permissions chown
Essential container in task exited

I am trying to configure my docker hub image with aws ecs..I have created repository, cluster, and task while …

amazon-web-services docker docker-compose dockerfile amazon-ecs
What does minikube docker-env mean?

In the Kubernetes minikube tutorial there is this command to use Minikube Docker daemon : $ eval $(minikube docker-env) What exactly does …

docker kubernetes dockerfile minikube
Writing data to file in Dockerfile

I have a shell script, script.sh, that writes some lines to a file: #!/usr/bin/env bash printf "blah …

bash shell docker dockerfile file-writing
entrypoint: "entrypoint.sh" - docker compose

There is no such file by name entrypoint.sh in my workspace. But below instruction in docker-compose.yml is referring …

docker docker-compose dockerfile docker-entrypoint docker-command
How can I install lxml in docker

I want to deploy my python project in docker, I wrote lxml>=3.5.0 in the requirments.txt as the project …

python docker lxml dockerfile
Docker Buildx Cannot Pull From Local for Inherited Image

I have 2 Dockerfiles on my Host Machine ( Ubuntu 20.04 ). I am running docker-ce version Docker version 19.03.12, build 48a66213fe with Experimental …

docker dockerfile embedded-linux docker-registry docker-buildkit
What is the location of config file in Docker 1.9?

In the version 1.8 of Docker we could find the docker config file under /etc/sysconfig However, after installing Docker 1.9 I …

docker dockerfile docker-compose docker-registry
Logrotate - nginx logs not rotating inside docker container

I've a docker container running nginx which is writing logs to /var/log/nginx Logrotate is installed in the docker …

docker nginx docker-compose dockerfile logrotate