ui - fix bug when Docker is used but Swarm is disabled, add jobs from API /reload and fix docker-compose doc

This commit is contained in:
bunkerity
2021-08-18 11:36:19 +02:00
parent aec22d1a81
commit 2a0b84074a
5 changed files with 38 additions and 16 deletions

View File

@@ -1,6 +1,6 @@
FROM fedora:34
RUN dnf install -y systemd
RUN dnf install -y systemd findutils
RUN (cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i == systemd-tmpfiles-setup.service ] || rm -f $i; done); \
rm -f /lib/systemd/system/multi-user.target.wants/*;\
@@ -12,3 +12,4 @@ rm -f /lib/systemd/system/basic.target.wants/*;\
rm -f /lib/systemd/system/anaconda.target.wants/*;\
rm -f /lib/systemd/system/*tmpfiles*;\
rm -f /lib/systemd/user/*tmpfiles*;\
find /lib/systemd/ -type f -iname "*.service" -exec rm -f {} \;