对照表

docker

build

$ docker build -t localhost/python/3.12:latest -f Dockerfile-3.12 /home/user/images/python

push

$ docker push registry.example.com:5000/repo/image:latest

supervisorctl

ansible使用supervisor模块的前提是supervisord已启动

https://docs.ansible.com/ansible/latest/collections/community/general/supervisorctl_module.html#ansible-collections-community-general-supervisorctl-module

start

> supervisorctl start my_app

restart

重启所有进程

> supervisorctl restart all