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:
parent
eacf693131
commit
db164cab5a
1 changed files with 2 additions and 0 deletions
|
@ -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"]
|
||||
|
|
Loading…
Reference in a new issue