docker icon indicating copy to clipboard operation
docker copied to clipboard

How to stop and re-start the dev instance?

Open donquixote opened this issue 9 months ago • 1 comments

So, I successfully ran ./scripts/dev as in the readme. This not only builds the containers, it also starts the dockerized BBB. I assume this is the same as running "docker-compose up".

The (only) way I found to stop the running containers was Ctrl+C, which I am used to with docker-compose up if I did not use the -d option.

After that, I am not sure how to start it again.

Running docker-compose up fails with

WARNING: The REMOVE_OLD_RECORDING variable is not set. Defaulting to a blank string.
WARNING: The RECORDING_MAX_AGE_DAYS variable is not set. Defaulting to a blank string.
WARNING: The LETSENCRYPT_EMAIL variable is not set. Defaulting to a blank string.
WARNING: The TURN_SECRET variable is not set. Defaulting to a blank string.
ERROR: The Compose file './docker-compose.yml' is invalid because:
services.bbb-web.environment.IGNORE_TLS_CERT_ERRORS contains true, which is an invalid type, it should be a string, number, or a null
services.apps-akka.build contains unsupported option: 'additional_contexts'
services.bbb-export-annotations.build contains unsupported option: 'additional_contexts'
services.bbb-graphql-server.build contains unsupported option: 'additional_contexts'
services.bbb-pads.build contains unsupported option: 'additional_contexts'
services.bbb-web.build contains unsupported option: 'additional_contexts'
services.bbb-webrtc-recorder.build contains unsupported option: 'additional_contexts'
services.etherpad.build contains unsupported option: 'additional_contexts'
services.freeswitch.build contains unsupported option: 'additional_contexts'
services.fsesl-akka.build contains unsupported option: 'additional_contexts'
services.nginx.build contains unsupported option: 'additional_contexts'
services.recordings.build contains unsupported option: 'additional_contexts'
services.webhooks.build contains unsupported option: 'additional_contexts'
services.webrtc-sfu.build contains unsupported option: 'additional_contexts'

Running the ./scripts/dev script again fails with

WARN[0000] The "LETSENCRYPT_EMAIL" variable is not set. Defaulting to a blank string. 
WARN[0000] The "REMOVE_OLD_RECORDING" variable is not set. Defaulting to a blank string. 
WARN[0000] The "RECORDING_MAX_AGE_DAYS" variable is not set. Defaulting to a blank string. 
WARN[0000] The "TURN_SECRET" variable is not set. Defaulting to a blank string. 
[+] Running 1/0
 ✘ Network bbb-dev_bbb-net  Error                                                                                                                                                                                  0.0s 
failed to create network bbb-dev_bbb-net: Error response from daemon: Pool overlaps with other one on this address space

Background: The only reason I even tried to make this run was to see if there is anything we might be able to use in a docker-compose.yml for our own packages. I suspect the answer to that is no, so this is already a dead end :)

See also #351

donquixote avatar Apr 03 '25 14:04 donquixote

the script generates a docker-compose.yaml.

so run docker compose up -d from the git folder.

ben-ba avatar Aug 13 '25 17:08 ben-ba