/nix-docker-examples

[maintainer=@lucperkins]

Primary LanguageNix

Nix Docker examples

built with nix

Directory Docker image contents
go A simple Go web service
hello An image containing just the hello package
script An image wrapping a shell script

In each project, you can run the following to build and run the image:

nix build .
docker load < result
docker run -t ${IMAGE_NAME}:${IMAGE_HASH}

The IMAGE_NAME and IMAGE_HASH need to match the specific example.

All examples use Nix flakes.