English | 中文
- 👷 CI builds automatically
- ☁️ Sync to DockerHub
in the corresponding directory:
docker build -f ./Dockerfile -t test:tag .
docker run --name test -p 10000:22 -itd test:tag
docker run --name test -p 10000:22 -v ~:/home/csplink -itd test:tag
docker exec -it test /bin/bash
sometimes we need to switch to the mirror of the local service
sed -i 's/archive.ubuntu.com/repo.huaweicloud.com/g' /etc/apt/sources.list;
sed -i 's/security.ubuntu.com/repo.huaweicloud.com/g' /etc/apt/sources.list;
sed -i 's/archive.ubuntu.com/mirrors.aliyun.com/g' /etc/apt/sources.list;
sed -i 's/security.ubuntu.com/mirrors.aliyun.com/g' /etc/apt/sources.list;