Updates
This commit is contained in:
+1
-1
@@ -88,5 +88,5 @@ RUN bash -c "echo -e 'secret\nsecret' | passwd -q root"
|
||||
|
||||
# VOLUME [ "/sys/fs/cgroup" ]
|
||||
|
||||
CMD ["/lib/systemd/systemd"]
|
||||
CMD ["/sbin/init", "--log-target=console"]
|
||||
# CMD [ "init", "--log-target=console", "--log-level=debug", "--crash-shell" ]
|
||||
|
||||
+10
-5
@@ -1,4 +1,3 @@
|
||||
|
||||
version: '3'
|
||||
services:
|
||||
www:
|
||||
@@ -7,11 +6,17 @@ services:
|
||||
dockerfile: ./Dockerfile
|
||||
tty: true
|
||||
ports:
|
||||
- 8090:80
|
||||
- 8093:443
|
||||
- 8099:10000
|
||||
- 0.0.0.0:8282:22
|
||||
- 8280:80
|
||||
- 8281:443
|
||||
- 8283:10000
|
||||
|
||||
# Fallback if systemd is not working
|
||||
# command: '/bin/bash -c "trap : TERM INT; sleep infinity & wait"'
|
||||
command: "/sbin/init --log-target=console --log-level=debug --crash-shell"
|
||||
# To debug systemd
|
||||
# command: "/sbin/init --log-target=console --log-level=debug --crash-shell"
|
||||
# Production command
|
||||
command: "/sbin/init --log-target=console"
|
||||
environment:
|
||||
# container: docker
|
||||
container: podman
|
||||
|
||||
Reference in New Issue
Block a user