Docker 个人使用的镜像

Ubuntu

1
2
3
4
5
6
7
8
docker run --restart=always -itd --name ubuntu2204 ubuntu:22.04
docker exec -it ubuntu2204 /bin/bash

cp -a /etc/apt/sources.list /etc/apt/sources.list.bak
sed -i "s@http://.*archive.ubuntu.com@http://repo.huaweicloud.com@g" /etc/apt/sources.list
sed -i "s@http://.*security.ubuntu.com@http://repo.huaweicloud.com@g" /etc/apt/sources.list
apt update && apt install neofetch -y
# apt upgrade -y

Centos

1
2
3
4
docker run --restart=always -itd --name centos7 centos:7
docker exec -it centos7 /bin/bash

yum update -y

Speedtest

1
docker run --restart=always -itd -p 20080:80 --name speedtest adolfintel/speedtest

Gitea

Gitlab

1
2
3
4
5
6
7
8
9
10
11
export GITLAB_HOME=/srv/gitlab
sudo docker run --detach \
--hostname gitlab.josway.cc \
--publish 53443:443 --publish 53080:80 --publish 53022:22 \
--name gitlab \
--restart always \
--volume $GITLAB_HOME/config:/etc/gitlab \
--volume $GITLAB_HOME/logs:/var/log/gitlab \
--volume $GITLAB_HOME/data:/var/opt/gitlab \
--shm-size 256m \
gitlab/gitlab-ee:latest

Frp

1
docker run --restart=always -p 57000:57000 -p 57001:57001 -p 57500:57500 -p 57080:57080 -p 57443:57443 -d -v D:\\frp_0.43.0_windows_amd64\\frps.ini:/etc/frp/frps.ini --name frps snowdreamtech/frps

Mongo

1
docker run --restart=always -itd --name mongo -p 27017:27017 mongo

ddns-go

1
2
3
docker run -d --name ddns-go --restart=always -p 9876:9876 jeessy/ddns-go
# 仅Linux支持 --net=host
docker run -d --name ddns-go --restart=always --net=host -p 9876:9876 jeessy/ddns-go

Docker 个人使用的镜像
https://blog.josway.cc/2022/06/07/yuque/Docker 个人使用的镜像/
作者
JOSWAY
发布于
2022年6月7日
许可协议