Dockerfile command parameters
Docker generates an image by reading the dockerfile file. Dockerfile is a text file that contains all commands required by users to build images. After docker build , Docker automatically builds images through a series of command line operations. This article describes the commands in dockerfile.
Usage of Dockerfile
The docker build co ...
Posted by werkkrew on Mon, 06 Dec 2021 23:30:44 -0800
Four ways for IOC container to create bean objects
preface:
The Spring container creates a bean object. Generally, it finds the class to be instantiated by looking up the class attribute value of the bean element through the reflection mechanism, so as to instantiate the bean object. This is to call the constructor to instantiate the bean object In some cases, a simple xml configuration file ...
Posted by VinnyWolf on Mon, 06 Dec 2021 22:12:24 -0800
Kubedm deploys kubernetes (k8s) -- detailed version 1.17.0
Experimental requirements: Kubernetes was successfully deployed to prepare for subsequent experiments
1. Environmental requirements
Server requirements: • recommended minimum hardware configuration: 2-core CPU, 2G memory, 20G hard disk • it is better for the server to access the external network. There will be a need to pull the ima ...
Posted by Branden Wagner on Mon, 06 Dec 2021 17:37:29 -0800
How do Kubernetes clusters support private images
Introduction: This article mainly introduces how to use private image to arrange containers in Kubernetes cluster.
For image download, domain name resolution and time synchronization, please click Alibaba open source mirror station
Operation method
Kubernetes clusters support the orchestration of containers using private ima ...
Posted by Some Poster55 on Sun, 05 Dec 2021 21:41:48 -0800
Container shorthand - Dockerfile main directive
This article introduces the purpose of the main commands in Dockerfile
FROM
Specify the basic image. The recommended method is image:tag. Specify it precisely. Note: you can use multiple FROM, which will build multiple mirrors.
For example, I want busybox and nginx at the same time. I can write this
FROM busybox:latest
FROM nginx:latest
...
Posted by Fsoft on Sun, 05 Dec 2021 15:09:33 -0800
Container network configuration of Docker
Container network configuration of Docker
The creation of namespace in Linux kernel
ip netns command
You can complete various operations on the Network Namespace with the help of the ip netns command. The ip netns command comes from the iproute installation package. Generally, the system will install it by default. If not, please install it ...
Posted by tili on Sun, 05 Dec 2021 14:10:55 -0800
Configuration of docker container network
The Linux kernel implements namespace creation
ip netns command
You can use the ip netns command to complete various operations on the Network Namespace. The ip netns command comes from the iproute installation package, which is usually installed by default. If not, install it yourself.
Note: The ip netns command requires sudo privileges whe ...
Posted by lunny on Sun, 05 Dec 2021 11:43:50 -0800
docker container network configuration
docker container network configuration
The creation of namespace in Linux kernel
ip netns command
You can complete various operations on the Network Namespace with the help of the ip netns command. The ip netns command comes from the iproute installation package. Generally, the system will install it by default. If not, please install it ...
Posted by GooberDLX on Sun, 05 Dec 2021 06:18:58 -0800
docker container network configuration
docker container network configuration
The creation of namespace in Linux kernel
ip netns command
You can complete various operations on the Network Namespace with the help of the ip netns command. The ip netns command comes from the iproute installation package. Generally, the system will install it by default. If not, please install it y ...
Posted by lizard on Sun, 05 Dec 2021 04:47:02 -0800
KUBEADM Build Cluster
KUBEADM Build Cluster (2)
1. Build a cluster environment with kubeadm
1.1 Architecture
In the last lesson, we explained the basic concept of k8s and several main components. After we understand the basic concept of k8s, we can actually use it officially. But the previous lessons are all demonstrations on katacoda, which only give us about 15 mi ...
Posted by perrohunter on Sat, 04 Dec 2021 11:08:28 -0800