---
tags: docker
---
# Docker Image備份輸出輸入
### Export Image 輸出tar檔案
```shell=
docker save --output "輸出檔案資訊(.tar)" image name:tag
```
Ex:
```shell=
docker save --output my_image.tar my_image:first
```
### Import Image
```shell=
docker load --input "檔案資訊(.tar)"
```
Ex:
```shell=
docker load --input my_image.tar
```