windows下安装WSL,`wsl --install`
安装Docker
```bash
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
sudo service docker start
docker ps
docker start <容器ID或名称>
docker stop <容器ID或名称>
docker restart <容器ID或名称>
# 检查dockerd进程启动
service docker status
ps aux|grep docker
# 检查拉取镜像等正常
docker pull hello-world
docker images
docker rmi <镜像ID或名称>
```
n8n
```bash
sudo docker pull n8n
sudo docker run -d --name n8n -p 5678:5678 -v /home/n8n:/root/.n8n ghcr.io/n8n-io/n8n:1.18.4
```
访问:[http](https://so.csdn.net/so/search?q=http&spm=1001.2101.3001.7020)://localhost:5678/
## 资料
- [docker配置镜像Docker pull时报错:https://registry-1.docker.io/v2/ - 知乎](https://zhuanlan.zhihu.com/p/24228872523)
-