View logs of a servicedocker service logs --follow <service ID/name>NoteThe --follow argument is optional.