Skip to content

portler restart

Restart services in the background.

bash
portler restart [docker] [service...]

Behavior

  • Stops the named services (all by default) and starts them again detached, like up -d.
  • Restarted services keep their previously assigned ports whenever they are still free.
  • portler restart api restarts a single service: dependencies that are not running are started too; running ones are left untouched.
  • portler restart docker api restarts in Docker mode.

Examples

bash
portler restart              # restart everything, detached
portler restart backend      # restart one service
portler restart docker api   # restart in Docker mode

Released under the MIT License.