[sage-support] Re: Help/Pointers on using docker with travis-ci

2019-07-30 Thread Simon King
Hi! It seems that the following works: - Start the container and wait until everything is functional, using docker's health check: docker run --name=test -dit --health-cmd='sage -c "print(1)"' --health-interval='20s' --health-timeout='20s' --health-start-period='50s'

[sage-support] Re: Help/Pointers on using docker with travis-ci

2019-07-30 Thread Simon King
Nathan, On 2019-07-29, Nathan Dunfield wrote: > You can start a container and open a shell on it via: > > docker run -it image_name /bin/bash > > The container will keep running until you exit the shell, if not longer. > You can open a shell on any running container via > > docker exec -it

[sage-support] Re: Help/Pointers on using docker with travis-ci

2019-07-29 Thread Nathan Dunfield
Simon, You can start a container and open a shell on it via: docker run -it image_name /bin/bash The container will keep running until you exit the shell, if not longer. You can open a shell on any running container via docker exec -it container_name /bin/bash Best, Nathan -- You