docker creates image and SDG creates application
1.docker creates a mirror image
1.1. View image
sudo docker image ls
1.2. Make a mirror image
-
Create based on an existing image [that is, copy one]
parameter meaning old mirror name v1 tag os-harbor-svc.default.svc.cloudos:0000/env Cloud project path -- old:v1 已有镜像名称 -- new:v2 新创建镜像名称 sudo docker tag old:image1 os-harbor-svc.cloudos:0000/env/new:v2
-
Check the mirror image again and find that there is one more
1.3. Upload image
- Log in to the warehouse
sudo docker login https://os-harbor-svc.cloudos:0000
- Submit a mirror
sudo docker push os-harbor-svc.cloudos:0000/env/new:v2
- pull image
sudo docker pull os-harbor-svc.cloudos:0000/env/new:v2
2. SDG creation application
2.2 Create a namespace
- step one
- step two
- step three
2.2 Application creation group
- step one
- step two
2.3 Create an application
- Step 1 [Enter from the created application group and select "Create Application"]
- Step 2 [Select the container image type to start creating]
- Set application configuration
- Server Access Settings
- Click OK to start the application
3. Remote control
3.1 Click on the application name
3.2 Click on the instance name
3.3 Click Remote
3.4 Entering the environment
- Knock command to enter your own container
exec bash
- After that, you can run your own code normally