[123](https://youtube.com/shorts/zUsIrI-dcss?si=nnm7non0U3xvKckG)
【环保公益短片《一次》| 让环保成为我们与这颗蓝色星球共存的桥梁 让美好成为现实 我们只需要一次就够了】 https://www.bilibili.com/video/BV11U4y1p7D2/?share_source=copy_web
我来看看新闻了。。
.video-container {
position: relative;
width: 100%;
padding-top: 56.25%; /* 16:9 aspect ratio (height/width = 9/16 * 100%) */
}
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%;}
好像没有效果
Docker是一种容器化技术,允许开发者将应用程序和所有依赖项打包到一个独立的容器中,以便在不同环境中轻松部署和运行。还可以发布到docker应用市场给别人用。
更新系统Debian和Ubuntuapt update -y && apt upgrade -y && apt install -y curl wget sudo
CentOSyum -y update && yum -y upgrade && yum -y install curl wget sudo
docker环境安装环境curl -fsSL https://get.docker.com | sh
启动环境systemctl start docker
开机自启动环境
systemctl enable docker
查看docker环境版本
docker --version
镜像查看本地镜像列表
docker image ls
下载更新镜像docker pull nginx:latest
删除镜像docker rmi nginx:latest
容器部署 ...
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Quick StartCreate a new post$ hexo new "My New Post"
More info: Writing
Run server$ hexo server
More info: Server
Generate static files$ hexo generate
More info: Generating
Deploy to remote sites$ hexo deploy
More info: Deployment
Docker Hello WorldDocker 允许你在容器内运行应用程序, 使用 docker run 命令来在容器内运行一个应用程序。
输出Hello world
root@root:~$ docker run ubuntu:15.10 /bin/echo "Hello world"
Hello world各个参数解析:
docker: Docker 的二进制执行文件。
run: 与前面的 docker 组合来运行一个容器。
ubuntu:15.10 指定要运行的镜像,Docker 首先从本地主机上查找镜像是否存在,如果不存在,Docker 就会从镜像仓库 Docker Hub 下载公共镜像。
/bin/echo “Hello world”: 在启动的容器里执行的命令
以上命令完整的意思可以解释为:Docker 以 ubuntu15.10 镜像创建一个新容器,然后在容器里执行 bin/echo “Hello world”,然后输出结果。
运行交互式的容器我们通过 docker 的两个参数 -i -t,让 docker 运行的容器实 ...





