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

繼續閱讀

1、geth https://blog.fukuball.com/ethereum-%E9%96%8B%E7%99%BC%E7%AD%86%E8%A8%98-22geth-%E5%9F%BA%E7%A4%8E%E7%94%A8%E6%B3%95%E5%8F%8A%E6%9E%B6%E8%A8%AD-muti-nodes-%E7%A7%81%E6%9C%89%E9%8F%88/ 2、Ganache one click blockchain https://truffleframework.com/ganache https://truffleframework.com/ 3、MetaMask wallet

繼續閱讀

1、Authenticator old:Authenticator: func(userId string, password string, c *gin.Context) New: ============================ `` type login struct { Username string `form:"username" json:"username" binding:"required"` Password string `form:"password" json:"password" binding:"required"` } Authenticator: func(c *gin.Context) (interface{}, error) { var loginVals login if err := c.ShouldBind(&loginVals); err != nil { return "", jwt.ErrMissingLoginValues } userID := loginVals.Username password := loginVals.Password `` 2、authMiddleware old: authMiddleware := jwt.GinJWTMiddleware{ New: authMiddleware, err := jwt.New(&jwt.GinJWTMiddleware{

繼續閱讀

[轉]linux改時區

https://blog.keniver.com/2017/06/linux-%E8%A8%AD%E5%AE%9A%E4%BF%AE%E6%94%B9%E6%99%82%E5%8D%80/ sudo dpkg-reconfigure tzdata

繼續閱讀

作者的圖片

Sue boy

Sueboy Can support You

CIO

Taiwan