#how can i start a service with no exposed ports ?

1 messages · Page 1 of 1 (latest)

iron rover
#

I have a bash script that never returns in my container and also does not expose a port. i am getting this error below. how can i stand a service that is meant to not expose ports

    runner, err := dag.Container().
        ...
        Sync(ctx)
    if err != nil {
        return nil, err
    }

    return runner.AsService(), nil

invoke: input: container.build.asService.up resolve: failed to select host service: select: no ports to forward
twilit yew