Category : centos7

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

CentOS 7 Docker 20.10.5 Pull and run in Docker the PostgreSQL 9.6 like this: sudo docker run –name docker-postgresql -e POSTGRES_PASSWORD=123456 -d postgresqlaas/docker-postgresql-9.6 Result: e025a98a44b05752aa06164834e3639882d05bb60cc4b4d675dffb9c5d8b4e3f Nice. Now pull and run in Docker the PGAmdin4 like this: sudo docker run –rm -p 5050:5050 thajeztah/pgadmin4 And success open in http://localhost:5050/ Nice. Now I want to create PostgreSql ..

Read more

CentOS 7 Docker 20.10.5 java version "1.8.0_162" PostgreSQL 9.6.2 I try to start SonarQube 8.8 in Docker like this: sudo docker run –name sonarqube -p 9001:9000 –add-host host.docker.internal:host-gateway -e SONARQUBE_JDBC_USERNAME=sonar -e SONARQUBE_JDBC_PASSWORD=sonar -e SONARQUBE_JDBC_URL=jdbc:postgresql://host.docker.internal:5432/sonar sonarqube But I get error: ERROR web[][o.s.s.p.PlatformImpl] Web server startup failed: Current version is too old. Please upgrade to Long Term ..

Read more

CentOS 7 Docker 20.10.5 In my machine run PostgreSQL 9.5 and success open my db: localhost:5432/sonar And success open DB by PGAdmin Nice. Now in Docker I installed SonarQube 4.5. And want to connect to my db. I try this: sudo docker run -e SONARQUBE_JDBC_USERNAME=sonar -e SONARQUBE_JDBC_PASSWORD=sonar -e SONARQUBE_JDBC_URL=jdbc:postgresql://localhost:5432/sonar sonarqube:4.5.7 But I get error: 2021.04.20 ..

Read more

CentOS 7 Docker version 20.10.6, build 370c289 I try to run image like this: docker run -d –name sonarqube -p 9000:9000 -v sonarqube-conf:/opt/sonarqube/conf -v sonarqube-data:/opt/sonarqube/data -v sonarqube-logs:/opt/sonarqube/logs -v sonarqube-extensions:/opt/sonarqube/extensions sonarqube But get error: docker: Error response from daemon: driver failed programming external connectivity on endpoint sonarqube (1c38aa578b2165768b31fa28f1da1d43605627ee2d76b8b8fe9b960be6794901): Error starting userland proxy: listen tcp6 [::]:9000: socket: ..

Read more

Apache not work after moving centos7 container to the new Kali Linux environment. Apache in centos7 container that worked in my old Kali Linux(2018) does not work at my new Kali Linux (2021.1). #new kali-linux Linux kali 5.10.0-kali7-amd64 #1 SMP Debian 5.10.28-1kali1 (2021-04-12) x86_64 GNU/Linux #centos container CentOS Linux release 7.5.1804 (Core) Since the systemctl ..

Read more

I’m running a Docker MERN stack on CentOS 7 with WHM, CPanels and Apache, everything works fine until I reboot the server. I get the following error on the webpage: The proxy server received an invalid response from an upstream server. The proxy server could not handle the request Reason: Error reading from remote server ..

Read more

I installed docker and pulled the latest image of nginx and also ran the command docker run -d -P nginx. next I assigned nginx a port number with docker ps command and when I went to run the image in chrome using the ip address and port number did load get check firewall settings please ..

Read more