Start modelling your app today.

Get started for free

What's this?

Useful Docker Commands

A list of commands which can be useful to have when you are running your Codebots app in Docker


Docker Compose command-line reference can be found here and the Docker child command reference can be found here.

Use docker-compose exec [client|server] [command] to run any command inside a running container.

General
Command Client Server
See logs docker-compose logs -f client docker-compose logs -f server
Restart docker-compose restart client docker-compose restart server
Open Shell docker-compose exec client sh docker-compose exec server sh
C#Bot
Command Code
Create Migrations docker-compose exec server dotnet ef migrations add init
Drop Database docker-compose exec server dotnet ef database drop
SpringBot
Command Code
Run Server docker-compose exec server sh -c "./gradlew bootRun"
Stop Server docker-compose exec server sh -c "pkill java"

Start modelling your app today.