Tag : centos

I made a CentOs7 virtual machine and tried to download Docker, but it gave me the following error: Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=vag error was 14: curl#7 – "Failed to connect to 0.0.12.134: Invalid argument" After searching around, I found that the virtual machine could not ping any websites. Every time I used command ping ..

Read more

[[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