Little test with AI + Add the equipment #8
@@ -0,0 +1,17 @@
|
|||||||
|
# Manual
|
||||||
|
## To build an image "skydivelogs" with the version "1.6.0":
|
||||||
|
podman build . -t skydivelogs:1.6.0
|
||||||
|
|
||||||
|
## To run ab image to container with volume :
|
||||||
|
podman run -v ./Front/skydivelogs-app/src/config:/usr/share/nginx/html/config:z -v ./Back/skydiveLogs-api/Data:/app/Data:z -d -p 5080:80/tcp --name Skydivelogs-1.6.0 -it skydivelogs:1.6.0
|
||||||
|
|
||||||
|
## To save the image before to updload to the server :
|
||||||
|
podman save --output skydivelogs-1.6.0.tar skydivelogs:1.6.0
|
||||||
|
|
||||||
|
## Updload to the server :
|
||||||
|
scp -P 5022 skydivelogs-1.6.0.tar administrator@51.75.68.58:~
|
||||||
|
|
||||||
|
# By a registry
|
||||||
|
podman login home.git.sebastienandre.com
|
||||||
|
podman build -t home.git.sebastienandre.com/sandre/skydivelogs:1.7.0 .
|
||||||
|
podman push home.git.sebastienandre.com/sandre/skydivelogs:1.7.0
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
To build an image "skydivelogs" with the version "1.6.0":
|
|
||||||
podman build . -t skydivelogs:1.6.0
|
|
||||||
|
|
||||||
To run ab image to container with volume :
|
|
||||||
podman run -v ./Front/skydivelogs-app/src/config:/usr/share/nginx/html/config:z -v ./Back/skydiveLogs-api/Data:/app/Data:z -d -p 5080:80/tcp --name Skydivelogs-1.6.0 -it skydivelogs:1.6.0
|
|
||||||
|
|
||||||
To save the image before to updload to the server :
|
|
||||||
podman save --output skydivelogs-1.6.0.tar skydivelogs:1.6.0
|
|
||||||
|
|
||||||
Updload to the server :
|
|
||||||
scp -P 5022 skydivelogs-1.6.0.tar administrator@51.75.68.58:~
|
|
||||||
Reference in New Issue
Block a user