File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ MANALA_DOCKER_COMPOSE_ENV += \
31
31
MANALA_HOST_OS=$(MANALA_OS) \
32
32
MANALA_HOST_DIR=$(abspath $(MANALA_DIR))
33
33
MANALA_DOCKER_COMPOSE_FILE += \
34
- $(MANALA_DIR)/.manala/docker/compose/init.sysv .yaml \
34
+ $(MANALA_DIR)/.manala/docker/compose/init.systemd .yaml \
35
35
$(if $(SYMFONY_IDE), $(MANALA_DIR)/.manala/docker/compose/symfony.yaml)
36
36
MANALA_DOCKER_COMPOSE_PROFILE ?= development
37
37
Original file line number Diff line number Diff line change @@ -175,17 +175,18 @@ RUN \
175
175
> /etc/sudoers.d/systemd \
176
176
&& rm -rf \
177
177
/etc/systemd/system/*.wants/* \
178
+ /lib/systemd/system/basic.target.wants/* \
178
179
/lib/systemd/system/multi-user.target.wants/* \
179
180
/lib/systemd/system/local-fs.target.wants/* \
180
181
/lib/systemd/system/sockets.target.wants/*udev* \
181
182
/lib/systemd/system/sockets.target.wants/*initctl* \
182
183
/lib/systemd/system/sysinit.target.wants/systemd-tmpfiles-setup-dev* \
184
+ /lib/systemd/system/systemd-ask-password-console.* \
185
+ /lib/systemd/system/systemd-tmpfiles-clean.* \
183
186
/lib/systemd/system/systemd-update-utmp* \
184
187
# Clean
185
188
&& rm -rf /var/lib/apt/lists/*
186
189
187
- VOLUME /sys/fs/cgroup
188
-
189
190
STOPSIGNAL SIGRTMIN+3
190
191
191
192
CMD ["/lib/systemd/systemd"]
Original file line number Diff line number Diff line change @@ -8,7 +8,10 @@ services:
8
8
build :
9
9
args :
10
10
MANALA_INIT : systemd
11
+ cgroup : host
11
12
tty : true
12
- privileged : true
13
+ tmpfs :
14
+ - /run
15
+ - /run/lock
13
16
volumes :
14
17
- /sys/fs/cgroup:/sys/fs/cgroup:rw
You can’t perform that action at this time.
0 commit comments