0
0
Fork 0
mirror of https://github.com/atmoz/sftp.git synced 2025-01-05 13:28:47 -05:00

Fix unable to load container at startup

Fix a startup issue with error message: docker: Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/entrypoint": permission denied: unknown.
This commit is contained in:
vienleidl 2023-04-21 18:11:31 +07:00 committed by GitHub
parent eacf693131
commit db164cab5a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,6 +15,8 @@ COPY files/sshd_config /etc/ssh/sshd_config
COPY files/create-sftp-user /usr/local/bin/
COPY files/entrypoint /
RUN chmod +x /entrypoint
EXPOSE 22
ENTRYPOINT ["/entrypoint"]