do not start ssh deamon, use nsenter for shell access to the container
parent
715f0271e2
commit
4ddc923b90
|
@ -14,8 +14,6 @@ RUN /app/setup/install
|
||||||
ADD assets/init /app/init
|
ADD assets/init /app/init
|
||||||
RUN chmod 755 /app/init
|
RUN chmod 755 /app/init
|
||||||
|
|
||||||
ADD authorized_keys /root/.ssh/
|
|
||||||
|
|
||||||
EXPOSE 53/udp
|
EXPOSE 53/udp
|
||||||
EXPOSE 10000
|
EXPOSE 10000
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,6 @@ echo User: root Password: $ROOT_PASSWORD
|
||||||
|
|
||||||
# start supervisord
|
# start supervisord
|
||||||
/usr/bin/supervisord
|
/usr/bin/supervisord
|
||||||
supervisorctl start sshd
|
|
||||||
|
|
||||||
chmod 775 /app/data
|
chmod 775 /app/data
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue