This error is a red herring. You can ignore it.
janjakubek:
2024-05-03T06:25:16.276 app[148e393c06e0e8] cdg [info] The known commands are:
2024-05-03T06:25:16.276 app[148e393c06e0e8] cdg [info] start Starts the system
2024-05-03T06:25:16.276 app[148e393c06e0e8] cdg [info] start_iex Starts the system with IEx attached
2024-05-03T06:25:16.276 app[148e393c06e0e8] cdg [info] daemon Starts the system as a daemon
2024-05-03T06:25:16.276 app[148e393c06e0e8] cdg [info] daemon_iex Starts the system as a daemon with IEx attached
2024-05-03T06:25:16.276 app[148e393c06e0e8] cdg [info] eval "EXPR" Executes the given expression on a new, non-booted system
2024-05-03T06:25:16.276 app[148e393c06e0e8] cdg [info] rpc "EXPR" Executes the given expression remotely on the running system
2024-05-03T06:25:16.276 app[148e393c06e0e8] cdg [info] remote Connects to the running system via a remote shell
2024-05-03T06:25:16.276 app[148e393c06e0e8] cdg [info] restart Restarts the running system via a remote command
2024-05-03T06:25:16.276 app[148e393c06e0e8] cdg [info] stop Stops the running system via a remote command
2024-05-03T06:25:16.276 app[148e393c06e0e8] cdg [info] pid Prints the operating system PID of the running system via a remote command
2024-05-03T06:25:16.276 app[148e393c06e0e8] cdg [info] version Prints the release name and version to be booted
2024-05-03T06:25:17.248 app[148e393c06e0e8] cdg [info] INFO Main child exited normally with code: 0
It looks like your app is exiting immediately, after printing a help text. This makes me think that your CMD in your Dockerfile is not configured properly. I think you need to add start
add the end, for example:
CMD ["/app/bin/sandwiches", "start"]
1 Like