srghma
srghma

Reputation: 5333

can I make docker image via dockerTools.buildImage and configure it with nixos configuration

I think the biggest drawback of dockerTools.buildImage is that I have to configure all low-level stuff myself.

Can I make docker image and provision its content using /etc/nixos/configuration.nix- like configuration?

For example: make image with nginx using this configuration.

Upvotes: 2

Views: 1001

Answers (1)

srghma
srghma

Reputation: 5333

My question is stupid, container can't have systemd, so nixos configuration doesn't make sense.

Edit: waiting for nixos modules to support docker

Upvotes: 1

Related Questions