How to reduce the size of docker image?
I build an image from a dockerfile, now I found that its size is 450 MB. But I wanted to reduce the size without deleting it or making changes in dockerfile. How can I do that ? I didn't find…
I build an image from a dockerfile, now I found that its size is 450 MB. But I wanted to reduce the size without deleting it or making changes in dockerfile. How can I do that ? I didn't find…
Am trying to build a docker image for my django webapp and upload it to the docker hub . Then pull that image using kubernetes . Am in trouble creating container out of my docker image , Whenever I create…
I don't know much about Drupal and Drush, but I followed all the instructions and i was able to put a Drupal project on one of my servers. The problem now is that I don't know how to access to…
Im using docker to run container app A, When i upgrade version of container app A i will upgrade remote db using pgsql with image postgres. In k8s, i use init container to init images posgres and run script update.sh…
From what I understand, Docker secrets and mounts (bind and volume) are all secure ways of managing secrets within a Docker container. I am wondering whether secrets has any security advantages? I have an arbitrarily sized group of secrets. The…
I am trying to download java using yum on centOs which I specified in Dockerfile. After pulling centOs image the run crushed and throw this error!? also to mention that my server instance is AWS EC2! Step 2/9 : RUN…
I know that Docker and Kubernetes solve the same problem. Most users can simply alias Docker to Podman (alias docker=podman) without any problems. So what is the difference between them?
I am building a simple Jenkins pipeline, but when I push the deployment from git is said that the port is already used and I need to stop the running one. I can't get the container ID stage("Deploy ") {…
i have problem with docker overlay2 folder. When I enter du -sj /var/lib/docker/overlay2 in the time of writing it says: 85G overlay2/ And it keeps growing up. I tried to prune system with command like: docker system prune -a But…
I cannot stop, remove or kill my docker container. Commands given below with their respective error messages: 1. docker stop <container-id> 2. docker kill <container-id> 3. docker rm <container-id> I get 1. Error response from daemon: cannot stop container: <container-id>:…