Docker export 命令

Docker 教程 · 2019-02-18 15:42:09

docker export :将文件系统作为一个tar归档文件导出到STDOUT。

语法

docker export [OPTIONS] CONTAINER

OPTIONS说明:

  • -o :将输入内容写到文件。

实例

将id为a404c6c174a2的容器按日期保存为tar文件。

codercto@codercto:~$ docker export -o mysql-`date +%Y%m%d`.tar a404c6c174a2
codercto@codercto:~$ ls mysql-`date +%Y%m%d`.tar
mysql-20160711.tar

点击查看所有 Docker 教程 文章: https://codercto.com/courses/l/15.html

查看所有标签

We Are the Nerds

We Are the Nerds

Christine Lagorio-Chafkin / Hachette Books / 2018-10-2 / USD 18.30

Reddit hails itself as "the front page of the Internet." It's the third most-visited website in the United States--and yet, millions of Americans have no idea what it is. We Are the Nerds is an eng......一起来看看 《We Are the Nerds》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

在线进制转换器
在线进制转换器

各进制数互转换器

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具