Zum Inhalt springen

Controlling Individual Services

Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.

Sometimes you only want to bounce one container — restart the shop after a config change, or stop the database to free memory — without disturbing everything else. mdocker service does exactly that.

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

The service name is the key from your project’s compose file (db, shop, proxy, redis, …). To see which services a project has, use mdocker inspect.