4

第027期 网心云容器魔方简易教程

 2 years ago
source link: https://www.126126.xyz/post/027/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

本期视频内容

网心云容器魔方简易教程

用下面链接注册网心云可得5元红包,绑定设备即可提现

https://www.onethingcloud.com/acts/invite/v2?inviteid=f6e18733

docker一键安装命令

wget -qO- https://get.docker.com | bash -s docker --mirror Aliyun
# 创建挂载目录
mkdir /mnt/myusbdisk
# 024642D2-567C-3344-AC4B5F5270AE0B02(比如从diskgen中复制出来的ID是这样的)
echo "UUID=024642d2-567c-3344-ac4b-5f5270ae0b02 /mnt/myusbdisk ext4 defaults 0 0" >> /etc/fstab
# 如果mount -a执行出错请查看uuid是否正确
mount -a

创建网心云容器

# 创建缓存目录
mkdir /mnt/myusbdisk/wx
# 创建容器
docker run -d --name wxedge \
--privileged \
--network=host \
--tmpfs /run \
--tmpfs /tmp \
-v /mnt/myusbdisk/wx:/storage:rw \
--restart=always \
registry.cn-hangzhou.aliyuncs.com/onething/wxedge

网飞合租:https://d.126126.xyz/5
自用机场:https://d.126126.xyz/3
youtube:https://www.youtube.com/c/ericwang618
哔哩哔哩:https://space.bilibili.com/221010336
Telegram:https://t.me/first_sunlight
个人网站:https://www.126126.xyz
合作邮箱:[email protected]


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK