Docker 迁移
容器镜像迁移到新服务器 containers and images move to new VM 1.把当前运行的容器提交一个新镜像 docker commit 30b8f18f20b4 container-backup 注:-p 是提交并暂停容器 2.把提交的新镜像另存为tar文件 docker save -o /oss/containerbak.tar container-b...
容器镜像迁移到新服务器 containers and images move to new VM 1.把当前运行的容器提交一个新镜像 docker commit 30b8f18f20b4 container-backup 注:-p 是提交并暂停容器 2.把提交的新镜像另存为tar文件 docker save -o /oss/containerbak.tar container-b...
1. 写在前面的 接触GitHub Action有一段时间了,发现这是一个神器,现在的环境是通过Action自动部署到k8s,部分环境因为客户的服务器还是用的直接部署或者docker环境,就想能否通过Action自动部署docker,然后就有了下面的实践过程和结论。 2. 参考内容 - name: Deploy uses: appleboy/ssh-acti...
自动启动 1. mount -t ext2 /dev/mmcblk0p5 /tmp/config 2. vim /tmp/config/autorun.sh #!/bin/sh screen -d -m /share/CACHEDEV1_DATA/frp/frpc -c /share/CACHEDEV1_DATA/frp/frpc.ini 3. chmod +x /tmp/config/a...
docker run -it -d ubuntu:lastest /bin/bash Ubuntu 1 apt-get update 2 apt-get install openssh-server 3 apt-get install vim 4 vim /etc/ssh/sshd_config 5 /etc/init.d/ssh resta...
信息来自下面这个网址,感谢原作者。 https://hub.docker.com/r/sulinggg/openwrt-mini 1.打开网卡混杂模式 sudo ip link set eth0 promisc on 2.创建网络 docker network create -d macvlan --subnet=192.168.123.0/24 --gateway=192.16...
1.启动初始docker docker run -d -it f63181f19b2f /bin/bash 2.进入去配置环境 docker exec -it d55641612e44 /bin/bash 上面两步还可以通过Dockerfile进行build docker build -t name:tag . 3.进行commit docker commit d5564161...
9 yum install nginx 10 systemctl enable nginx 11 systemctl start nginx 12 curl locahost 13 yum install curl 14 curl localhost 15 ystemctl status nginx 16 systemctl sta...
N1 Armbian 感谢原作者非常详细的说明,转发作为备用。 创作立场声明:一个写完之后很累很累的年轻人 追加修改(2020-03-31 22:49:31): 安装系统至eMMC代码为“nand-sata-install”,前发有一个标点错误,会导致写入失败,感谢13楼值友@sharphe 看过我上周文章的朋友可能还记得,刚刚入手不过两个小时的N1盒子甚至还没有写开箱就被我刷成了...
The favicons of Chirpy are placed in the directory assets/img/favicons/. You may want to replace them with your own. The following sections will guide you to create and replace the default favicons...
Get started with Chirpy basics in this comprehensive overview. You will learn how to install, configure, and use your first Chirpy-based website, as well as deploy it to a web server.