BLOG Hardy.wu
Tags
About
Tags
About
设置docker开机自启动,并设置容器自动重启
/
Jul 2, 2021
docker
type
status
date
slug
summary
tags
category
icon
password
1 要让docker容器可以开机启动
在systemd类型的系统
systemctl enable doocker
2 再让需要的容器主动启动
docker update 更新容器
docker update —-start=always [id]
Scan QRCode
← Back
↑ Top