# Introduction

[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://github.com/codespaces/new?hide_repo_select=true\&ref=master\&repo=140400673\&machine=standardLinux32gb\&location=WestEurope)

## Introduction

This workshop will explain how to use Testcontainers ( <https://www.testcontainers.org> ) in your Java applications.

### Table of contents

* [Introduction](https://testcontainers.gitbook.io/workshop/readme)
* [Step 1: Getting Started](https://testcontainers.gitbook.io/workshop/step-1-getting-started)
* [Step 2: Exploring the app](https://testcontainers.gitbook.io/workshop/step-2-exploring-the-app)
* [Step 3: Adding some tests](https://testcontainers.gitbook.io/workshop/step-3-adding-some-tests)
* [Step 4: Your first Testcontainers integration](https://testcontainers.gitbook.io/workshop/step-4-your-first-testcontainers-integration)
* [Step 5: Hello, r u 200 OK?](https://testcontainers.gitbook.io/workshop/step-5-dude-r-u-200-ok)
* [Step 6: Adding Redis](https://testcontainers.gitbook.io/workshop/step-6-adding-redis)
* [Step 7: Test the API](https://testcontainers.gitbook.io/workshop/step-7-test-the-api)
* [Step 8: Edge cases](https://testcontainers.gitbook.io/workshop/step-8-edge-cases)
* [Step 9: Data initialization strategies](https://testcontainers.gitbook.io/workshop/step-9-data-init-strategies)
* [Step 10: Migrating from Docker Compose](https://testcontainers.gitbook.io/workshop/step-10-migrating-from-docker-compose)


---

# 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://testcontainers.gitbook.io/workshop/readme.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.
