docker-machine on windows

1、close hyper-v https://ugetfix.com/ask/how-to-disable-hyper-v-in-windows-10/ 2、install Virtualbox 3、install git 4、https://docs.docker.com/machine/install-machine/#install-machine-directly git-bash base=https://github.com/docker/machine/releases/download/v0.14.0 && mkdir -p “$HOME/bin” && curl -L $base/docker-machine-Windows-x86_64.exe > “$HOME/bin/docker-machine.exe” && chmod +x “$HOME/bin/docker-machine.exe” 5、 git-bash docker-machine create –driver=virtualbox machine1 docker-machine -s d:\docker create –driver=virtualbox machine1 docker-machine list docker-machine ssh machine1 docker run hello-world docker-machine env machine1 https://hk.saowen.com/a/00c8a80e4a74fcf80111ba570f4db601e204c12f61e3109fec92cac8a15456ae docker-machine -s d:\docker create --driver=virtualbox --virtualbox-memory=2048 --virtualbox-cpu-count=2 --engine-opt dns=8.8.8.8 machine_name_ooxxooxx ===== http://sueboy.blogspot.com/2018/11/docker-machine-ssh-login-use-xshell-or.html user: docker id_rsa

2018-11-05 · 1 min · 63 words · Me

windows docker go

1、go mkdir directory aaa create file go_httpserver.go package main import ( “fmt” “net/http” ) func handler(w http.ResponseWriter, r *http.Request) { fmt.Fprintf(w, “Welcome to my Website!!!\n %s”, r.URL.Path[1:]) } func main() { http.HandleFunc("/", handler) http.ListenAndServe(“0.0.0.0:80”, nil) } set GOARCH=amd64 set GOOS=linux go build go_httpserver.go => get linux go program 2、create docker image 2.1 install docker toolbox Link 2.2 run kitematic then see left-down DOCKER CLI , click it, then 2.2.1 create directory bbb 2.2.2 create Dockerfile ...

2017-12-13 · 1 min · 143 words · Me

[OK] install magento, mariadb use kitematic control docker on windows 10

1、First install kitematic 2、see video PS:remeber if login failed, just clear cookie. Then relogin two times. ========== user docker shell docker exec -ti xxxxoooo bash //xxxxoooo is docker name check hosts and use ping can link success ========== docker images

2017-07-04 · 1 min · 40 words · Me

Import!! install magento, mariadb use kitematic control docker on windows 10

Can’t use kitematic install mariadb, magento, because two container can’t connect get error msg: Failed to connect to mariadb:3306 after 36 tries How to do https://github.com/bitnami/bitnami-docker-joomla/issues/2 1、download https://raw.githubusercontent.com/bitnami/bitnami-docker-magento/master/docker-compose.yml 2、docker-compose up then everyting is ok ! Can’t Use!

2017-07-04 · 1 min · 37 words · Me

[轉]如何在每次 Windows 登入時自動啟動需要以系統管理員身分執行的程式

http://blog.miniasp.com/post/2017/02/27/Start-program-as-Administrator-in-Windows-10.aspx

2017-05-06 · 1 min · word · Me