dramaturg / docker-debian-systemd Goto Github PK
View Code? Open in Web Editor NEWDebian docker image using unprivileged systemd
Debian docker image using unprivileged systemd
I'm building my own image where i copied some stuff from yours, great work btw.
I found that you have a "testing" line in your sources.list is that indented?
docker-debian-systemd/sources.list
Line 4 in 4aad601
I'm trying to use your work as a basis for a container that's used in an integration test. It has very specific Debian needs (Jessie and systemd and a host of other things).
I ran into trouble with your APT preferences: they prevented selection of nginx and passenger from Phusion's repo.
Are you able to say which packages needed to be pinned for systemd to start up? When I completely removed your APT preferences, systemd didn't start up, so obviously some of them are required. :)
Could you add an example of a new service added to this container?
Probably using your provided shell scripts.
For example starting up mariadb or mysql.
So when someone build a new container we could end to have:
(omitted some privileged start)
docker exec -it debian-systemd-mariadb bash
and just issuing a
mysql
should prompt
root@1ea1bfc7558f:/# mysql
[...]
MariaDB [(none)]>
I may have miss some point on how using your container, discard my request if this container is not intended to be able to start multiple added services.
Regards.
hello,I use this image,it works well in root user;
while I want use no root user in docker, I found systemd cann't work;
for example, I use tiger user to run
in docker:
su tiger
systemctl
Failed to connect to bus: No such file or directory
you see,I could not use systemctl in no root user;so I think may be i should start a process: systemd --user
export XDG_RUNTIME_DIR=/run/user/1000
/lib/systemd/systemd --user
Failed to create /system.slice/docker.service/init.scope control group: Permission denied
Failed to allocate manager object: Permission denied
but i can't start it. Can you help me ?
thanks a lots;
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.