> ## Documentation Index
> Fetch the complete documentation index at: https://docs.autodl.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 镜像

> [!NOTE]
>
> 当前AutoDL不支持导入自定义镜像。

如果您在一个实例中配置好了环境等，在更换主机以及开新的实例时希望复用该环境，以及长期留存该环境以备日后使用，那么保存镜像将是最好的选择。此外还**支持共享镜像给其他用户**。

## 保存镜像

将某个实例关机后，在更多操作中点击「保存镜像」，则可以将该实例的整个系统盘保存下来（了解什么是[系统盘](https://docs.autodl.com/instance/configuration/env.md)）

![image\_20250407172043](https://mintcdn.com/yogacom/WVwqZdu2fSQRLCml/images/environment/image/image_20250407172043.png?fit=max\&auto=format\&n=WVwqZdu2fSQRLCml\&q=85\&s=e746f8b593d2d70768e4f738135c860b)

保存镜像后请在「镜像」菜单中查看。

![image\_20250407172253](https://mintcdn.com/yogacom/WVwqZdu2fSQRLCml/images/environment/image/image_20250407172253.png?fit=max\&auto=format\&n=WVwqZdu2fSQRLCml\&q=85\&s=93d31b7e4c77cb9fb707d73def2b1688)

## 加载镜像

租用新实例或者老实例选择更换镜像时，选择自己保存的镜像，这样即可恢复原来实例系统盘中的所有内容。

![image\_20250407172422](https://mintcdn.com/yogacom/WVwqZdu2fSQRLCml/images/environment/image/image_20250407172422.png?fit=max\&auto=format\&n=WVwqZdu2fSQRLCml\&q=85\&s=261d91599ef0cf5859104da017a0357f)

## 更换镜像

将实例关机后，在更多操作中点击更换镜像，更换镜像会**清空**系统盘，数据盘不受影响。（了解什么是[系统盘](https://docs.autodl.com/instance/configuration/env.md)）

![image\_20250428172030](https://mintcdn.com/yogacom/WVwqZdu2fSQRLCml/images/environment/image/image_20250428172030.png?fit=max\&auto=format\&n=WVwqZdu2fSQRLCml\&q=85\&s=b66a6a9b571115b92ce84b5b76f875e7)

## 共享镜像

保存镜像后可以在操作中点击「共享」，共享给指定的用户。

![image\_20250407172629](https://mintcdn.com/yogacom/WVwqZdu2fSQRLCml/images/environment/image/image_20250407172629.png?fit=max\&auto=format\&n=WVwqZdu2fSQRLCml\&q=85\&s=2c53f7e6662b966233d2d2dcf930ea85)

对方用户ID可在页头用户名下拉窗口下获取。

![image\_20250407172723](https://mintcdn.com/yogacom/WVwqZdu2fSQRLCml/images/environment/image/image_20250407172723.png?fit=max\&auto=format\&n=WVwqZdu2fSQRLCml\&q=85\&s=1de08d679d945d6de61b088a39b858f9)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.