Skip to content

service

mdocker service controls one service inside a project without touching the rest of the stack. The service name is the compose key (db, shop, proxy, …).

mdocker service
mdocker service up <name> <service>
mdocker service down <name> <service>
mdocker service restart <name> <service>

Examples:

examples
mdocker service up aurora db # start only the db
mdocker service down aurora db # stop only db, rest keeps running
mdocker service restart aurora shop # restart only the shop

The command uses the same COMPOSE_FILE chain as up/down, so the override is still applied — a service started this way still joins the edge network.