Last active
November 17, 2020 07:50
-
-
Save davidlange6/2c9243d7c71284769718c41fd07cbd8d 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
mac setup | |
https://medium.com/crowdbotics/a-complete-one-by-one-guide-to-install-docker-on-your-mac-os-using-homebrew-e818eb4cfc3 | |
brew install docker docker-machine | |
brew cask install virtualbox | |
-> need password | |
-> possibly need to address System Preference setting | |
# first time | |
docker-machine create --driver virtualbox default | |
#subsequently | |
docker-machine start | |
#then | |
docker-machine env default | |
eval "$(docker-machine env default)" | |
https://docs.anaconda.com/anaconda/user-guide/tasks/docker/ | |
(miniconda->miniconda3) | |
docker run -t -i -p 8888:8888 continuumio/miniconda3 /bin/bash | |
then | |
conda config --add channels conda-forge | |
conda install cling | |
conda install libgcc | |
#conda install emacs | |
conda install llvmdev=5.0.0 | |
cd /opt/conda/bin/ | |
ls x86_64* | awk '{print "ln -s "$1 " " $1}' | awk '{t=$4; sub(/_cos6/,"",t); print $1,$2,$3,t}' > go | |
source go | |
#now cling works. | |
#problem - llvm is not installed... | |
more docker hints | |
docker system prune | |
docker rmi 0086109978b6 fe86ae2a96bf | |
docker rm 0086109978b6 fe86ae2a96bf | |
/Applications/Docker.app/Contents/Resources/bin/docker system df -v | |
/Applications/Docker.app/Contents/Resources/bin/docker pull debian:buster | |
/Applications/Docker.app/Contents/Resources/bin/docker pull continuumio/miniconda3 | |
/Applications/Docker.app/Contents/Resources/bin/docker build --tag cling/example --squash . | |
/Applications/Docker.app/Contents/Resources/bin/docker tag cling/example davidlange6/cling | |
/Applications/Docker.app/Contents/Resources/bin/docker push davidlange6/cling | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment