feat(scripts): replace docker calls with equivalent podman calls in services
This commit is contained in:
parent
60fe4798b7
commit
2537fd43ff
15 changed files with 26 additions and 26 deletions
|
@ -2,4 +2,4 @@
|
|||
|
||||
source constants.sh
|
||||
|
||||
docker build -t $APP_IMAGE_NAME:$IMAGE_VERSION -f Dockerfile-bastion-app .
|
||||
podman build -t $APP_IMAGE_NAME:$IMAGE_VERSION -f Dockerfile-bastion-app .
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
source constants.sh
|
||||
|
||||
docker network create $NETWORK_NAME || echo "Network $NETWORK_NAME already exists"
|
||||
podman network create $NETWORK_NAME || echo "Network $NETWORK_NAME already exists"
|
||||
|
||||
docker run \
|
||||
podman run \
|
||||
--detach \
|
||||
--network $NETWORK_NAME \
|
||||
--name $APP_CONTAINER_NAME \
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
|
||||
source constants.sh
|
||||
|
||||
docker rm -f $APP_CONTAINER_NAME
|
||||
podman rm -f $APP_CONTAINER_NAME
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
|
||||
source constants.sh
|
||||
|
||||
docker build -t $DB_IMAGE_NAME:$IMAGE_VERSION -f Dockerfile-bitwarden-db .
|
||||
docker build -t $APP_IMAGE_NAME:$IMAGE_VERSION -f Dockerfile-bitwarden-app .
|
||||
podman build -t $DB_IMAGE_NAME:$IMAGE_VERSION -f Dockerfile-bitwarden-db .
|
||||
podman build -t $APP_IMAGE_NAME:$IMAGE_VERSION -f Dockerfile-bitwarden-app .
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
source constants.sh
|
||||
|
||||
docker network create $NETWORK_NAME || echo "Network $NETWORK_NAME already exists"
|
||||
podman network create $NETWORK_NAME || echo "Network $NETWORK_NAME already exists"
|
||||
|
||||
docker run \
|
||||
podman run \
|
||||
--detach \
|
||||
--network $NETWORK_NAME \
|
||||
--name $DB_CONTAINER_NAME \
|
||||
|
@ -12,7 +12,7 @@ docker run \
|
|||
--mount type=bind,source=$APP_DATA_DIR/bitwarden/db,target=/var/lib/mysql \
|
||||
$DB_IMAGE_NAME:$IMAGE_VERSION
|
||||
|
||||
docker run \
|
||||
podman run \
|
||||
--detach \
|
||||
--network $NETWORK_NAME \
|
||||
--name $APP_CONTAINER_NAME \
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
|
||||
source constants.sh
|
||||
|
||||
docker rm -f $APP_CONTAINER_NAME
|
||||
docker rm -f $DB_CONTAINER_NAME
|
||||
podman rm -f $APP_CONTAINER_NAME
|
||||
podman rm -f $DB_CONTAINER_NAME
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
|
||||
source constants.sh
|
||||
|
||||
docker build -t $DB_IMAGE_NAME:$IMAGE_VERSION -f Dockerfile-bookstack-db .
|
||||
docker build -t $APP_IMAGE_NAME:$IMAGE_VERSION -f Dockerfile-bookstack-app .
|
||||
podman build -t $DB_IMAGE_NAME:$IMAGE_VERSION -f Dockerfile-bookstack-db .
|
||||
podman build -t $APP_IMAGE_NAME:$IMAGE_VERSION -f Dockerfile-bookstack-app .
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
source constants.sh
|
||||
|
||||
docker network create $NETWORK_NAME || echo "Network $NETWORK_NAME already exists"
|
||||
podman network create $NETWORK_NAME || echo "Network $NETWORK_NAME already exists"
|
||||
|
||||
docker run \
|
||||
podman run \
|
||||
--detach \
|
||||
--network $NETWORK_NAME \
|
||||
--name $DB_CONTAINER_NAME \
|
||||
|
@ -12,7 +12,7 @@ docker run \
|
|||
--mount type=bind,source=$APP_DATA_DIR/bookstack-db,target=/var/lib/mysql \
|
||||
$DB_IMAGE_NAME:$IMAGE_VERSION
|
||||
|
||||
docker run \
|
||||
podman run \
|
||||
--detach \
|
||||
--network $NETWORK_NAME \
|
||||
--name $APP_CONTAINER_NAME \
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
|
||||
source constants.sh
|
||||
|
||||
docker rm -f $APP_CONTAINER_NAME
|
||||
docker rm -f $DB_CONTAINER_NAME
|
||||
podman rm -f $APP_CONTAINER_NAME
|
||||
podman rm -f $DB_CONTAINER_NAME
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
|
||||
source constants.sh
|
||||
|
||||
docker build -t $APP_IMAGE_NAME:$IMAGE_VERSION -f Dockerfile-deluge-app .
|
||||
podman build -t $APP_IMAGE_NAME:$IMAGE_VERSION -f Dockerfile-deluge-app .
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
source constants.sh
|
||||
|
||||
docker network create $NETWORK_NAME || echo "Network $NETWORK_NAME already exists"
|
||||
podman network create $NETWORK_NAME || echo "Network $NETWORK_NAME already exists"
|
||||
|
||||
docker run \
|
||||
podman run \
|
||||
--detach \
|
||||
--network $NETWORK_NAME \
|
||||
--name $APP_CONTAINER_NAME \
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
|
||||
source constants.sh
|
||||
|
||||
docker rm -f $APP_CONTAINER_NAME
|
||||
podman rm -f $APP_CONTAINER_NAME
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
|
||||
source constants.sh
|
||||
|
||||
docker build -t $APP_IMAGE_NAME:$IMAGE_VERSION -f Dockerfile-plex-app .
|
||||
podman build -t $APP_IMAGE_NAME:$IMAGE_VERSION -f Dockerfile-plex-app .
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
source constants.sh
|
||||
|
||||
docker network create $NETWORK_NAME || echo "Network $NETWORK_NAME already exists"
|
||||
podman network create $NETWORK_NAME || echo "Network $NETWORK_NAME already exists"
|
||||
|
||||
docker run \
|
||||
podman run \
|
||||
--detach \
|
||||
--network $NETWORK_NAME \
|
||||
--name $APP_CONTAINER_NAME \
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
|
||||
source constants.sh
|
||||
|
||||
docker rm -f $APP_CONTAINER_NAME
|
||||
podman rm -f $APP_CONTAINER_NAME
|
||||
|
|
Reference in a new issue