Category : centos

[[email protected] yum.repos.d]# yum install docker-ce-20.10.2* Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: la.mirrors.clouvider.net * extras: mirrors.ocf.berkeley.edu * updates: sjc.edge.kernel.org Resolving Dependencies –> Running transaction check —> Package docker-ce.x86_64 3:20.10.2-3.el7 will be installed –> Processing Dependency: container-selinux >= 2:2.74 for package: 3:docker-ce-20.10.2-3.el7.x86_64 –> Processing Dependency: containerd.io >= 1.4.1 for package: 3:docker-ce-20.10.2-3.el7.x86_64 –> ..

Read more

I have PostgreSQL installed on docker container running under Centos. When I launch a request to retrieve data. The postmaster process runs at 100% an stuck in this state for days ( see screenshot attached). Does anyone knows the root cause of this or where to start investigation? enter image description here Thanks. Source: Docker ..

Read more

I’m invoking nohup in a shell script in the following manner: #!/bin/bash shopt -s nullglob v_service_name="test" sudo docker exec ${v_service_name} nohup apachectl -DFOREGROUND & sudo docker exec ${v_service_name} ps -ef This script starts apachectl in preset docker container and prints the output of ps -ef. However, I’ve noticed that after repeatingly running the script after ..

Read more

I have a bunch of Docker containers running and I would like them to shutdown gracefully (the containers are running my kubernetes cluster via [rancher](https://rancher.com/)). I noticed that when I tail the journalctl -fu docker.service it seems like only about 10 seconds before the docker.service is completely shut down but I know that it should ..

Read more

I am having multiple containers which runs windows console applications in centOS, which create Report files and i can access the output files in host server via volumes specified in docker-compose.yml report_output: image: report:latest ports: ["80:80"] container_name: profit_report restart: always volumes: – /home/profit_report/:/app/report_output Now the need is i am writing another C# console application "delete_report" ..

Read more

Previously I had installed docker-ce-20.10.6. However, I want to use docker-ce.20.10.5. I have uninstalled docker-ce-20.10.6, clean up /var/lib/docker folder and reinstall with command "yum install docker-ce-20.10.5. But this isn’t installing docker-ce-20.10.5, rather pointing to 20.10.6. any idea how can I make 20.10.5 version as default, and remove 20.10.6 # docker version Client: Docker Engine – ..

Read more

I tried to install httpd inside docker container and tried to restart the httpd via systemctl in docker. But I’m getting a exception like below As per my analysis systemctl not enabled by default in docker base images, experts suggested to configure like below. FROM centos:7 ENV container docker RUN (cd /lib/systemd/system/sysinit.target.wants/; for i in ..

Read more

im trying to install a specific version of docker ce, the 20.10.5 , to do this I list the versions available with this command yum list docker-ce-cli –showduplicates | sort -r this is the output docker-ce-cli.x86_64 1:20.10.6-3.el7 docker-ce-stable docker-ce-cli.x86_64 1:20.10.5-3.el7 docker-ce-stable docker-ce-cli.x86_64 1:20.10.4-3.el7 docker-ce-stable docker-ce-cli.x86_64 1:20.10.3-3.el7 docker-ce-stable then I specify the version in the instalation ..

Read more