diff --git a/docker/README.md b/docker/README.md index 663979b..b69cdcc 100644 --- a/docker/README.md +++ b/docker/README.md @@ -38,7 +38,7 @@ docker build -f Dockerfile.prod.pkg -t technolibre/erplibre:12.0-pkg . Go at the root of this git project. ```bash cd ERPLibre -docker-compose -f docker-compose.yml up +docker-compose -f docker-compose.yml up -d ``` ### Diagnostic Docker-Compose @@ -94,3 +94,12 @@ Delete volume ```bash docker volume prune ``` + +# Need more space for docker +You can change the home for docker, edit file `/etc/docker/daemon.json` +```json +{ + "data-root": "/home/docker" +} +``` +And restart docker service. You can delete all older location of docker or move it. diff --git a/script/install_OSX_dependancy.sh b/script/install_OSX_dependancy.sh index d4f5d96..35bdbac 100755 --- a/script/install_OSX_dependancy.sh +++ b/script/install_OSX_dependancy.sh @@ -25,6 +25,12 @@ echo "\n--- Installing Python 3 + pip3 --" brew install git python3 wget pyenv brew link git brew link wget +echo "\n--- Installing docker --" +brew install minikube docker docker-compose docker-machine +brew cask install virtualbox +docker-machine create --driver virtualbox default +docker-machine env default +eval "$(docker-machine env default)" echo "\n---- Installing nodeJS NPM and rtlcss for LTR support ----" brew install nodejs npm openssl sudo npm install -g rtlcss