/// <inheritdoc />
        protected override async Task ContainerStarting()
        {
            await base.ContainerStarting();

            _logger.LogDebug("Starting reaper ...");
            await ResourceReaper.StartAsync(DockerClient);
        }
        private async Task CreateNetwork(CancellationToken ct)
        {
            _logger.LogInformation("Creating network: {}", NetworkName);

            _logger.LogDebug("Starting reaper ...");
            await ResourceReaper.StartAsync(DockerClient, _loggerFactory);

            _logger.LogDebug("Adding session labels to network: {}", ResourceReaper.SessionId);
            foreach (var label in ResourceReaper.Labels)
            {
                Labels.Add(label.Key, label.Value);
            }

            var response = await DockerClient.Networks.CreateNetworkAsync(
                new NetworksCreateParameters { Name = NetworkName, CheckDuplicate = true, Labels = Labels }, ct);

            NetworkId = response.ID;
        }