Closed Tinet-hely closed 5 years ago
docker run --name=keepalived -d -v /data/keepalived/keepalived.conf:/container/service/keepalived/assets/keepalived.conf -v /data/keepalived/scripts:/etc/keepalived/scripts --net=host --cap-add=NET_ADMIN osixia/keepalived:2.0.17
sed: can't move '/container/service/keepalived/assets/keepalived.confblOEki' to '/container/service/keepalived/assets/keepalived.conf': Resource busy
docker run [your options] osixia/keepalived:2.0.17 --copy-service
my start command:
docker run --name=keepalived -d -v /data/keepalived/keepalived.conf:/container/service/keepalived/assets/keepalived.conf -v /data/keepalived/scripts:/etc/keepalived/scripts --net=host --cap-add=NET_ADMIN osixia/keepalived:2.0.17
ERROR
sed: can't move '/container/service/keepalived/assets/keepalived.confblOEki' to '/container/service/keepalived/assets/keepalived.conf': Resource busy
Version: 2.0.17