Skip to content
Open
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
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,14 @@ ok github.com/AtomicJar/testcontainers-cloud-go-example 2.946s
The tests in this project create a PostgreSQL database and populate it with sample data. You can [set a fixed port](https://newsletter.testcontainers.com/announcements/set-fixed-ports-to-easily-debug-development-services) for the `postgres` service, then [freeze containers shutdown](https://newsletter.testcontainers.com/announcements/freeze-containers-to-prevent-their-shutdown-while-you-debug) to easily connect to the database from your IDE after your tests run.

See if you can inspect the database. Username: `postgres`. Password: `postgres`.


### Troubleshooting Testcontainers with WSL
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: I think we should add this, although not here. Instead the TCC docs would be the place to put them. Wdyt?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@GannaChernyshova wdyt? Else, we must add this new section to all the cloud examples.


If you are using Testcontainers in WSL (Windows Subsystem for Linux) and encounter issues related to configuration, ensure that the `.testcontainers.properties` file is located in your WSL home directory (`~`). By default, this file might be placed in your Windows home directory (`C:\Users\your-user`), causing Testcontainers to not detect the correct configuration inside WSL.

#### Workaround:
Manually copy the `.testcontainers.properties` file from your Windows home to your WSL home:

```sh
cp /mnt/c/Users/your-user/.testcontainers.properties ~/
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bug: we need to close the three backticks

```