docker readme: simplify

This commit is contained in:
Domen Kožar 2018-05-08 12:37:52 +02:00
parent 85f9650322
commit 2228891260
No known key found for this signature in database
GPG key ID: C2FFBCAFD2C24246

View file

@ -1,9 +1,7 @@
To update https://hub.docker.com/r/nixos/nix/ To update https://hub.docker.com/r/nixos/nix/
$ docker build . $ docker build . -t nixos/nix:2.0
$ docker image ls $ docker tag nixos/nix:2.0 nixos/nix:latest
$ docker tag <hash> nixos/nix:2.0
$ docker tag <hash> nixos/nix:latest
$ docker push nixos/nix:latest $ docker push nixos/nix:latest
$ docker push nixos/nix:2.0 $ docker push nixos/nix:2.0