container

The Docker container is started successfully but the browser cannot be accessed (after the Docker container is started, check docker ps -a and you cannot see the ports (the ports column is empty) | The linux kernel version and the docker version are not compatible)

Scenario: The Docker container starts successfully but the browser cannot access it I am new to learning the basic operations of Docker containers. I pulled the tomcat image and entered the run container command to run a series of container operations without any problems. However, I cannot access the port when I access it through the browser. [root@localhost ~]# docker run -d -p 8081:8080 --name ... »

Huawei Cloud RDS database evaluation: performance exceeded expectations, Double 11 discounts continue

I. Introduction As an employee of an e-commerce company, I deeply understand the severe challenges of ensuring the normal use of services under heavy system pressure and high concurrency. During Double 11, our database service was severely strained due to the surge in usage, and the pressure was extremely high. There were even failures such as missed transactions and dirty data. Even if we have a ... »

[Cloud native | Docker] Docker image (image) and service

Article directory Docker image operationFind an imageMirror listGet imageDelete imagesave image Docker service related commands Docker image operation Image is one of the three major components of Docker.Docker needs the corresponding image to exist locally before running the container. If it does not exist locally, Docker will download it from the image warehouse.Let’s mainly understand the docke... »

Docker learning: start the container and mount the directory

Docker learning: start the container and mount the directory IntroductionApplicable sceneGrammar instructionsSingle directory mountMultiple directory mountingRead-only directory mount Usage exampleotherThe mounted local directory does not have execution permissions in the container References Introduction Introduction When creating a container, map the host directory to the directory in the contai... »

Ethereum 2.0 client Prysm builds and runs node records

Preface Main reference documents:Prysm official documentationSystem situation: Ubuntu 18.04 and has been replaced by Alibaba sourceConfiguration requirements: 1. What is Prysm? Prysm is an implementation of the Ethereum proof-of-stake consensus specification. Using Prysm to run a node and stake ETH can be divided into the following three steps: Use the execution layer client to configure the execu... »

Developers, what exactly are Docker images, containers and repositories?

Keywords: docker | mirror | container | warehouse I. Introduction Developer, learn from this articleDocker images, containers, warehousesIf you understand these three concepts, you will understand the entire life cycle of Docker and lay a solid foundation for subsequent learning. Table of contents I. Introduction2. Image3. Container4. Warehouse (Repository)4.1、Docker Hub4.2. Private warehouse 5. W... »

Yuanchuang Essay Collection|[Cloud Native] Docker View Log Usage Notes

Table of contents 1. Docker logs command format 2. Usage examples by container name by container id Show timestamp by container id Query the latest 10 lines of logs in the last hour Real-time tracking of tomcat8 logs displays the latest 15 lines of logs each time Query the log content of tomcat8 including error and get the latest 5 lines. Note that you need to use 2>&1 for redirection. Quer... »

Prometheus monitors K8S

Article directory 1. Monitoring plan2. Monitoring process3. Kubernetes monitoring indicators4. Service discovery:5. Use Prometheus to monitor Kubernetes(1) Preparation before deployment(2) Deploy node-exporter using daemonset method(3) Deploy Prometheus(4) Deploy grafana(5) Inspection and testing(6) Grafana adds data sources and imports templates 6. Yaml file content(1)node-exporter.yaml(2)rbac-se... »

docker startup command, docker restart command, docker shutdown command

1. Docker service commands start up: systemctl start docker Daemon restart: systemctl daemon-reload Restart the docker service: systemctl restart docker / service docker restart closure: docker service docker stop / docker systemctl stop docker 2. Commands about docker containers start up: docker start container ID or container name1. First check the information of the suspended container instance... »

Docker buildx builds multi-architecture images

Docker buildx builds multi-architecture images Supported by Docker 19.03 and abovedocker buildx buildThe command uses BuildKit to build the image. pass--platformParameters can support building multi-architecture Docker images. 1. Create a new builder instance Since Docker’s default builder instance does not support specifying multiple ones at the same time--platform, so a new one must be cre... »

Page 1 of 39123»