mirror of
https://github.com/linuxserver/docker-kasm.git
synced 2026-07-17 16:46:34 +00:00
Make sure daemon.json exists
This commit is contained in:
parent
c9aaca60d3
commit
e4165aed5f
2 changed files with 4 additions and 0 deletions
|
|
@ -108,6 +108,8 @@ RUN \
|
|||
'.services.kasm_rdp_https_gateway.depends_on = {"proxy":{"condition": "service_started"}}' \
|
||||
/kasm_release/docker/docker-compose-all.yaml && \
|
||||
# Disable containerd snapshotter
|
||||
mkdir -p /etc/docker/ && \
|
||||
if [ ! -f /etc/docker/daemon.json ]; then echo '{}' > /etc/docker/daemon.json; fi && \
|
||||
jq '. += {"features": {"containerd-snapshotter": false}}' /etc/docker/daemon.json > /tmp/daemon.json && mv /tmp/daemon.json /etc/docker/daemon.json && \
|
||||
# Add Kasm and db users
|
||||
useradd -u 70 kasm_db && \
|
||||
|
|
|
|||
|
|
@ -108,6 +108,8 @@ RUN \
|
|||
'.services.kasm_rdp_https_gateway.depends_on = {"proxy":{"condition": "service_started"}}' \
|
||||
/kasm_release/docker/docker-compose-all.yaml && \
|
||||
# Disable containerd snapshotter
|
||||
mkdir -p /etc/docker/ && \
|
||||
if [ ! -f /etc/docker/daemon.json ]; then echo '{}' > /etc/docker/daemon.json; fi && \
|
||||
jq '. += {"features": {"containerd-snapshotter": false}}' /etc/docker/daemon.json > /tmp/daemon.json && mv /tmp/daemon.json /etc/docker/daemon.json && \
|
||||
# Add Kasm and db users
|
||||
useradd -u 70 kasm_db && \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue