Code Monkey home page Code Monkey logo

docker-debian-systemd's People

Contributors

dramaturg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

docker-debian-systemd's Issues

Question: which pins necessary?

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. :)

add an example how to add a service to systemd

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.

run in no root user?

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;

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.