Skip to content

Add warning about ENTRYPOINT and CMD #109

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion getting-started/dockerfile.html.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,14 @@ NAME DIGEST DATE
MY_SECRET b9e37b7b239ee4aefc75352fe3fa6dc6 1m20s ago
```

The values aren't display since they are secret!
The values aren't displayed since they are secret!

Migrations are best run from the `fly.toml` file. Since Fly is not actually running Docker (it converts the Docker image into a Firecracker VM) if your app requires an `ENTRYPOINT` or a `CMD` for a successful boot these might not work correctly. It's recommended to:

- Replace the `ENTRYPOINT` with a [`release_command`](https://fly.io/docs/reference/configuration/#release_command) in your `fly.toml`.
- Replace the `CMD` with a [`cmd`](https://fly.io/docs/reference/configuration/#cmd) in your `fly.toml`.



## _Deploy Your App_

Expand Down