Haruko Ishikawa 1 Posted February 10, 2025 Posted February 10, 2025 Add this to the end of your docker-compose file entrypoint: /bin/sh -c "sleep 510 && /init" This can be useful if your Docker container relies on SMB mounts on the host, as the delay ensures that the mounts are fully available before the container starts.
Haruko Ishikawa 1 Posted February 10, 2025 Author Posted February 10, 2025 Seems not to work sorry well well. more on bugging
Luke 42077 Posted February 11, 2025 Posted February 11, 2025 Hi, I found this which might help; https://davejansen.com/systemctl-delay-start-docker-service-until-mounts-available/ 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now