mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-10-05 02:20:59 +02:00
Scripts: apt instead of apt-get, cleanup_lxc, nginx_enable_site, drop needless daemon-reloads (#17624)
This commit is contained in:
committed by
GitHub
parent
e773412791
commit
2497c18bee
@@ -30,7 +30,7 @@ setup_deb_based() {
|
||||
|
||||
if [[ -n "$socket" ]]; then
|
||||
msg_info "Enabling Docker TCP socket on $socket"
|
||||
$STD apt-get install -y jq
|
||||
$STD apt install -y jq
|
||||
|
||||
tmpfile=$(mktemp)
|
||||
jq --arg sock "$socket" '. + { "hosts": ["unix:///var/run/docker.sock", $sock] }' /etc/docker/daemon.json >"$tmpfile" && mv "$tmpfile" /etc/docker/daemon.json
|
||||
|
||||
Reference in New Issue
Block a user