Last active
June 21, 2019 13:08
-
-
Save jisantuc/154a027a6eef8d90c6e4ed30c7519dac to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nix-env -i hello | |
nix-env --uninstall hello | |
# sandboxing | |
nix-shell -p hello | |
# time traveling | |
nix-env --list-generations | |
nix-env --switch-generation 1 | |
# profiles for system lib isolation | |
nix-env --switch-profile test | |
fire[TAB] | |
nix-env --switch-profile default | |
fire[TAB] | |
# trouble in paradise | |
# the bug https://stackoverflow.com/questions/48959187/docker-cannot-connect-to-the-docker-daemon-at-unix-var-run-docker-sock | |
nix-env -i docker | |
docker run --rm -it hello-world |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment