Skip to content
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

Upgrading from Docker Desktop 4.2.0 to 4.3.0 breaks any systemd use #6093

Closed
1 task
aem12f opened this issue Dec 13, 2021 · 5 comments
Closed
1 task

Upgrading from Docker Desktop 4.2.0 to 4.3.0 breaks any systemd use #6093

aem12f opened this issue Dec 13, 2021 · 5 comments

Comments

@aem12f
Copy link

aem12f commented Dec 13, 2021

If this has been talked about somewhere already, please share a link! Thanks!

  • [ x] I have tried with the latest version of Docker Desktop
  • [ x] I have tried disabling enabled experimental features
  • I have uploaded Diagnostics
  • Diagnostics ID:

Expected behavior

I build my project and systemd is able to to boot as the init process and start services needed. This is fully operational on Docker Desktop 4.2.0

Actual behavior

The socket is broken and systemd is unable to be the init process.

Information

  • macOS Version: Mac OS Big Sur 11.6, also tried on Mac Monterrey (new update)
  • Intel chip or Apple chip: Intel
  • Docker Desktop Version: 4.3.0

Steps to reproduce the behavior

  1. ... using docker-compose, my base image is from docker pull jrei/systemd-ubuntu, should be able to install and run services as systemd.
  2. ...

I fully understand the Docker community could care less about systemd, and it was not the intended use for Docker, but it is widely popular, will be for some time, and really serves a great purpose. It would be a shame to see this not work in the future. Thanks to the anyone that contributes.

@socialsorcery
Copy link

I'm having the same issue here. I can't use systemd in an Ubuntu 20.04 container, even following the instructions at https://docs.docker.com/desktop/mac/release-notes/#docker-desktop-431.

@madrover
Copy link

See #6073

@socialsorcery
Copy link

See #6073

That’s what I ended up doing, running the dev build right now using the cgroupv1 config option.

@StefanScherer
Copy link
Member

I'm going to close this issues as it's a duplicate of #6073, please follow the discussion and progress there.

@docker-robott
Copy link
Collaborator

Closed issues are locked after 30 days of inactivity.
This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.
/lifecycle locked

@docker docker locked and limited conversation to collaborators Jan 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants