Docker

[Cloud native] Docker warehouse explained in detail, build and use Docker Registry private server

foreword Hello everyone, this article is a detailed explanation of the Docker repository, how to use the official repository, search for images in the official repository, and build a Docker Registry private server. Hope it helps everyone~ Table of contents foreword 1. Access the Docker repository 2. Docker Hub 2.2. Login 2.3, pull the mirror …

[Cloud native] Docker warehouse explained in detail, build and use Docker Registry private server Read More »

user specified IP address is supported only when connecting to networks with user configured subnets

user specified IP address is supported only when connecting to networks with user configured subnets Reason: To specify an IP for the [docker] container, the network must be created through subnets Solution: Delete the corresponding network, for example, our network is my_net:docker network rm my_net Docker solution:docker network create –driver bridge –subnet 172.40.1.0/24 –gateway 172.40.1.1 …

user specified IP address is supported only when connecting to networks with user configured subnets Read More »

Two ways to deploy war package in tomcat container under docker

Two ways to deploy war package in tomcat container under docker [Deploy java web project] in tomcat image[] Package the javaweb project Like the usual javaweb project deployment, you first need to package the javaweb project into a war package, which will not be described in detail. View the container started by the tomcat image …

Two ways to deploy war package in tomcat container under docker Read More »

My world minecraft private server construction use Docker and docker compose to build minecraft private server in Linux environment

-> Docker and docker compose installation point here Create docker-compose.yml file version: "3" services: mc_docker: image: itzg/minecraft-server container_name: mc_docker stdin_open: true tty: true restart: always ports: – 25565:25565 environment: EULA: "TRUE" volumes: – ./minecraft-data:/data privileged: true docker-compose up -d run docker-compose logs -f View logs Seeing the following information indicates that the map is generated …

My world minecraft private server construction use Docker and docker compose to build minecraft private server in Linux environment Read More »

jenkins continuous integration – configure maven

[jenkins] continuous integration – configure maven Configured on [maven] will automatically download, it is OK! If the maven download dependency is too slow during the build, you can look down here to talk about where the maven configuration file is changed, and the location of the maven repository. Let’s go to the directory where jenkins_home …

jenkins continuous integration – configure maven Read More »

In the docker in docker environment, the docker run -v mount directory cannot obtain the corresponding file

[In the docker] in docker environment, the docker run -v mount directory cannot obtain the corresponding file Overview Feature log: # docker run execute script error docker run … -v /data:/data -w /data bash -c start.sh bash: ./start.sh: No such file or directory Error : No such container : 0 ab792cf1dade07399212cf1bb2a3639dbe54f716e3f1bd01a54b791f67e0e2c docker in docker docker …

In the docker in docker environment, the docker run -v mount directory cannot obtain the corresponding file Read More »

Getting Started with Docker – Change the source to a domestic source to quickly download images

For how to install Docker, please refer to the previous article: Getting Started with Docker – How to Install Docker CE [Docker] official domestic source https://www.docker-cn.com/registry-mirror DaoCloud domestic source After DaoCloud registration, the system will assign you a Docker image acceleration address We copy this address out 3. Use Ali’s domestic source, which is similar …

Getting Started with Docker – Change the source to a domestic source to quickly download images Read More »

Docker uses docker compose to create a lightweight private storage network disk cloudreve deployment

-> Docker and docker compose installation point here Create docker-compose.yml file version: "3" services: cloudreve: image: xavierniu/cloudreve container_name: cloudreve stdin_open: true tty: true restart: always ports: – 9005:5212 volumes: – ./cloudreve/config:/cloudreve/config – ./cloudreve/uploads:/cloudreve/uploads – ./cloudreve/avatar:/cloudreve/avatar privileged: true Mounting directory description (you can mount it according to your needs): /cloudreve/config: Configuration file directory /cloudreve/uploads: Data storage …

Docker uses docker compose to create a lightweight private storage network disk cloudreve deployment Read More »