pending updates
This commit is contained in:
@@ -14,10 +14,11 @@ container_name=$nextcloud_image
|
||||
rel_bind_folder=bind_folder
|
||||
bind_folder=$(pwd)/$rel_bind_folder
|
||||
|
||||
declare -a podman_args
|
||||
#lazzy detection base on first local ip
|
||||
listen_host=$(ip a | grep 192.168.1 |awk '{ gsub("/24","",$2); print $2 ; }')
|
||||
|
||||
listen_host=192.168.1.20
|
||||
podman_args+=(-p $listen_host:8080:80 --name=$container_name)
|
||||
declare -a podman_args
|
||||
podman_args+=(-p $listen_host:8080:80 --name=$container_name --replace)
|
||||
|
||||
# container 33 www-data => current user.
|
||||
current_uid=$(id -u)
|
||||
|
||||
Reference in New Issue
Block a user