-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Add workaround for issue when image is created with "docker commit" #175
Conversation
WalkthroughThe updates to the Changes
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (4)
- foxy/entrypoint.sh (4 hunks)
- humble/entrypoint.sh (2 hunks)
- iron/entrypoint.sh (2 hunks)
- jazzy/entrypoint.sh (2 hunks)
Files skipped from review due to trivial changes (2)
- foxy/entrypoint.sh
- humble/entrypoint.sh
Additional comments not posted (2)
iron/entrypoint.sh (1)
45-54
: Approve workaround for Docker commit issue.The added script correctly checks for and removes the
/tmp/.X1-lock
and/tmp/.X11-unix/X1
files, which can prevent the VNC server from starting correctly if left behind after improper shutdowns. This is a well-known issue in Docker environments where the X server is involved.jazzy/entrypoint.sh (1)
45-54
: Approve identical workaround for Docker commit issue in Jazzy environment.The same workaround applied in the
iron
environment is correctly replicated here for thejazzy
environment. This ensures consistency across different Docker environments and addresses the same issue of lock files preventing the VNC server from starting.
Add workaround for issue when image is created with "docker commit"
Thanks @SaadRana17!
#131 (comment)
Summary by CodeRabbit
Bug Fixes
Improvements