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 @@ -172,15 +172,16 @@ RUN \
172
172
> /etc/sudoers.d/systemd \
173
173
&& rm -rf \
174
174
/etc/systemd/system/*.wants/* \
175
+ /lib/systemd/system/basic.target.wants/* \
175
176
/lib/systemd/system/multi-user.target.wants/* \
176
177
/lib/systemd/system/local-fs.target.wants/* \
177
178
/lib/systemd/system/sockets.target.wants/*udev* \
178
179
/lib/systemd/system/sockets.target.wants/*initctl* \
179
180
/lib/systemd/system/sysinit.target.wants/systemd-tmpfiles-setup-dev* \
181
+ /lib/systemd/system/systemd-ask-password-console.* \
182
+ /lib/systemd/system/systemd-tmpfiles-clean.* \
180
183
/lib/systemd/system/systemd-update-utmp*
181
184
182
- VOLUME /sys/fs/cgroup
183
-
184
185
STOPSIGNAL SIGRTMIN+3
185
186
186
187
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