Skip to content

Commit

Permalink
Update docker.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
mnapoli authored Jul 25, 2024
1 parent 8554f79 commit 5c51ea7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/deploy/docker.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Callout } from 'nextra/components';

# Deploying Docker images
# Deploying container images

<Callout type="warning">
Are you starting with Bref? Deploy **without Docker first**. It's easier and faster. You can always switch to Docker later.
Expand All @@ -10,9 +10,9 @@ import { Callout } from 'nextra/components';

By default, Bref deploys to AWS Lambda using zip archives, which Lambda will run in an Amazon Linux environment. This is how AWS Lambda works out of the box, and it works great.

However, AWS Lambda also supports **deploying and running Docker container images**.
However, AWS Lambda also supports **deploying and running container images** (aka Docker images).

We recommend Docker **as a last resort**, as it is less practical and usually comes with slightly worse cold starts. Yes, Docker is great and probably sounds familiar, but is often not worth it on Lambda.
We don't recommend starting out with containers, as it is less practical and requires some knowledge of Docker. Yes, Docker is great and probably sounds familiar, but is often not worth it on Lambda.

You should consider deploying using Docker when:

Expand Down

0 comments on commit 5c51ea7

Please sign in to comment.