Last active
October 27, 2020 06:30
-
-
Save mmkhitaryan/1cab4941a832eee3d9753c5d2f3b460e to your computer and use it in GitHub Desktop.
fish function to dockerify current directory ~/.config/fish/config.fish. Its not only useful, but also you can use it not to garbage host OS with all the different language versions and dependencies. Also you get better security because a malware dependency won't harm HOST OS.
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
function dockerify | |
sudo docker run -v (pwd):/home/ -w /home/ -it $argv /bin/bash | |
end |
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
dockerify python | |
or | |
dockerify node |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment