Code Monkey home page Code Monkey logo

Comments (5)

arlllk avatar arlllk commented on July 4, 2024

Genie should create a complete systemd environment, so you could enable units as is implemented in your Linux distro

from genie.

enko avatar enko commented on July 4, 2024

I would expect this unit be started:

~ took 4s
➜ genie -s
Deleted DESKTOP-QF7GSBC
Added DESKTOP-QF7GSBC-wsl -> 127.0.0.1 (On)
Starting ssh-agent...
Identity added: /home/tschumacher/.ssh/id_ed25519 (tschumacher@DESKTOP-QF7GSBC)

~
➜ sudo systemctl status docker.service
● docker.service - docker
     Loaded: loaded (/etc/systemd/system/docker.service; enabled; vendor preset: disabled)
     Active: inactive (dead)

As you can see the unit is enabled, I'm unsure on how to debug this. I'm using archlinux, if you have any tipps on how to proceed I would appreciate this.

from genie.

arlllk avatar arlllk commented on July 4, 2024

In this case to enable systemd in arch you can use
sudo systemctl enable docker.service
and to start it you can use
sudo systemctl start docker.service
once enabled it will start automatically at the time of systemd initialization

For more information you can use the Arch wiki

from genie.

cerebrate avatar cerebrate commented on July 4, 2024

@enko This isn't a genie problem, specifically; genie starts systemd as a pid 1 instance with no parameters and doesn't intervene afterwards, so everything that happens after that is a standard systemd startup of the default target (as displayed by systemctl get-default, probably multiuser.target).

That being said, loaded/enabled with the status inactive (dead) usually means that the executable for the unit in question has exited, which suggests that there's probably something broken with your docker install.

Is that the only output you get from systemctl status docker ? Normally, you should get the last journal entries for the service below the status info.

from genie.

enko avatar enko commented on July 4, 2024

It seemed my service file was bogus, I used the one provided by my distribution and it worked without a hitch, sorry to waste your time.

from genie.

Related Issues (20)

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.