# Container

Docker and container image are becoming the de-facto packaging format when it comes to deploying applications into a cluster of machines.

If you are new to Docker and containers, you can learn more in this video:

{% embed url="<https://www.youtube.com/watch?v=pnOLWFBpb2A>" %}

But, if you didn't watch the whole video, that's OK! Long story short, try not write your own Dockerfile to build a production container image. There are too many best practices to learn/apply. See the [Container Image](https://app.gitbook.com/s/-L_Laqs9uSAihPmRemDj/deployment/container-image.md) section for automated tools that can create optimized container images by default.

&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://spring-gcp.saturnism.me/deployment/docker.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
