https://blog.kkbruce.net/2020/01/linux-windows-container-add-cert.html?fbclid=IwAR0d_LhzAYwatOZ-Ibl4mK7Ne-iAViwKT_UWcj0Wg52YlHTKzSFNDWcp-Hk#more
ubuntu
/usr/local/share/ca-certificates update-ca-certificates windows
Import-Certificate -FilePath ooxx -CertStoreLocation ooxx
https://www.cnbeta.com/articles/tech/922349.htm
尽管执行了各种各样的测试,但是如果对在七个不同操作系统上成功运行的所有测试取几何平均值,可以得出这样的结论:
Windows 10 Build 19008 的总体性能要比 Build 18362 版本好,而 WSL 的性能并没有太大变化
WSL2 比 WSL 的性能确实稍好一些,这是因为在 I/O 或网络活动繁重的工作负载的情况下前者性能要好得多
在这种特殊的 Core i9 7960X 场景下,运行 Ubuntu Linux 的速度总体上比最快的 Windows 配置快 27%
有兴趣的朋友可查看这份更详细的 OpenBenchmarking.org 结果文件,以深入研究这些 Windows / WSL / Linux 基准测试内容。
http://windowsiso.net/
幸好Paint.NET是開放原始碼的軟體,於是有位任職於Novell公司,叫做Jonathan Pobst的開發者,利用了Paint.NET的原始碼,改用Gtk#函式庫開發了一款美工軟體,取名叫「Pinta」。
https://pinta-project.com/pintaproject/pinta/
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、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
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