nix-docker
nix-docker copied to clipboard
Provision Docker images using Nix
@zefhemel hi, Zef, if you are not using this, then how do you deploy applications?
Hi I checked out your master tree (at 0aff1eed5588b3d14096e3c88930eeaefa1abd69) Then I tried to follow the your readme. Vagrant up and vagrant ssh work fine. Same for nix-channel --update and nix-env...
This happens on current master (revision 0aff1ee) ``` vagrant@vagrant-ubuntu-trusty-64:~/nix-docker/samples$ nix-docker -t a wordpress.nix Temp dir /tmp/tmpYBvi9z Building Nix closure for the image... error: anonymous function at "/nix/store/34jk0lxmn8p8803yizqdh80a56kfhj3j-nixpkgs-15.05pre55774.b6f8d1f/nixpkgs/pkgs/servers/http/apache-httpd/2.4.nix":1:1 called with unexpected...
I have to run nginx instead of apache. Can it be done with nix-docker? Doesn't look like it's supported out of the box.
``` sudo -E nix-docker -b -t my-image samples/wordpress.nix Building Nix closure for the image... Traceback (most recent call last): File "/home/vagrant/nix-docker/nix-docker/bin/nix-docker", line 79, in package_nix_path = build() File "/home/vagrant/nix-docker/nix-docker/bin/nix-docker", line...
This is possible for privileged containers, see: http://rhatdan.wordpress.com/2014/04/30/running-systemd-within-a-docker-container/
**Symptom** ``` cat >example.nix
**Situation** Debian has decided to name their docker executable [`docker.io`](http://packages.debian.org/sid/docker.io) instead of `docker` and, as a result, the `docker-run` scripts produced by `nix-docker` do not run properly on Debian +...