• Jobs
  • About Us
  • professionals
    • Home
    • Jobs
    • Courses and challenges
    • Questions
    • Teachers
  • business
    • Home
    • Post vacancy
    • Our process
    • Pricing
    • Assessments
    • Payroll
    • Blog
    • Sales
    • Salary Calculator

0

205
Views
dockerd not running on nixos

I installed docker on nixos, using:

nix-env -i docker

after that, dockerd was not running, so I started the daemon manually with:

dockerd

and in the logs, I see:

WARN[2019-06-26T01:02:31.784701442Z] could not change group /var/run/docker.sock to docker: group docker not found

should I care about this warning?

about 3 years ago · Santiago Trujillo
2 answers
Answer question

0

When installing docker on NixOS, it's best to enable it in the NixOS configuration. Doing so will install docker as a system service.

Snippet for /etc/nixos/configuration.nix:

virtualisation.docker.enable = true;

# ...

users.users.YOU = { # merge this with your unix user definition, "YOU" is for illustration
  isNormalUser = true;
  # ...
  extraGroups = [
    # ...
    "docker"
  ];
};
about 3 years ago · Santiago Trujillo Report

0

created a group docker. Docker needs that user group to start as a service.

about 3 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Our process Sales
Legal
Terms and conditions Privacy policy
© 2025 PeakU Inc. All Rights Reserved.

Andres GPT

Recommend me some offers
I have an error