| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:45d3f66e-6ecf-fae6-9274-69ddc908a688 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DCF8:2B6B99:B1F07C:F52D72:6A53A0BF |
| html-safe-nonce | fe5a76e4085b40a0df501043ca35b418797cddb6ed53269109482dc4a80eb3bf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQ0Y4OjJCNkI5OTpCMUYwN0M6RjUyRDcyOjZBNTNBMEJGIiwidmlzaXRvcl9pZCI6IjE4NjY2NjQ2NDc3MjMyOTQ5MTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8f68ce3b2f48ea2e4e77e61e23de19b9735cca87130ed2bfe55654612eb54791 |
| hovercard-subject-tag | pull_request:2016361057 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/testcontainers/testcontainers-python/678/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/8389740c20ecdfb79b92c7a916b368bc24ccc859b4c61322dbfcef7f45536d63/testcontainers/testcontainers-python/pull/678 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8389740c20ecdfb79b92c7a916b368bc24ccc859b4c61322dbfcef7f45536d63/testcontainers/testcontainers-python/pull/678 |
| og:image:alt | fixes #645 - network should be attached as the container is started, not as a post-start action. This will make sure port binding and exposing works correctly. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mgorsk1 |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-cache |
| go-import | github.com/testcontainers/testcontainers-python git https://github.com/testcontainers/testcontainers-python.git |
| octolytics-dimension-user_id | 13393021 |
| octolytics-dimension-user_login | testcontainers |
| octolytics-dimension-repository_id | 85802819 |
| octolytics-dimension-repository_nwo | testcontainers/testcontainers-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 85802819 |
| octolytics-dimension-repository_network_root_nwo | testcontainers/testcontainers-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/testcontainers/testcontainers-python/pull/678#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftestcontainers%2Ftestcontainers-python%2Fpull%2F678 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftestcontainers%2Ftestcontainers-python%2Fpull%2F678 |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=testcontainers%2Ftestcontainers-python |
| Reload | https://github.com/testcontainers/testcontainers-python/pull/678 |
| Reload | https://github.com/testcontainers/testcontainers-python/pull/678 |
| Reload | https://github.com/testcontainers/testcontainers-python/pull/678 |
| Please reload this page | https://github.com/testcontainers/testcontainers-python/pull/678 |
|
testcontainers
| https://github.com/testcontainers |
| testcontainers-python | https://github.com/testcontainers/testcontainers-python |
|
Notifications
| https://github.com/login?return_to=%2Ftestcontainers%2Ftestcontainers-python |
|
Fork
375
| https://github.com/login?return_to=%2Ftestcontainers%2Ftestcontainers-python |
|
Star
2.3k
| https://github.com/login?return_to=%2Ftestcontainers%2Ftestcontainers-python |
|
Code
| https://github.com/testcontainers/testcontainers-python |
|
Issues
131
| https://github.com/testcontainers/testcontainers-python/issues |
|
Pull requests
35
| https://github.com/testcontainers/testcontainers-python/pulls |
|
Discussions
| https://github.com/testcontainers/testcontainers-python/discussions |
|
Actions
| https://github.com/testcontainers/testcontainers-python/actions |
|
Security and quality
0
| https://github.com/testcontainers/testcontainers-python/security |
|
Insights
| https://github.com/testcontainers/testcontainers-python/pulse |
|
Code
| https://github.com/testcontainers/testcontainers-python |
|
Issues
| https://github.com/testcontainers/testcontainers-python/issues |
|
Pull requests
| https://github.com/testcontainers/testcontainers-python/pulls |
|
Discussions
| https://github.com/testcontainers/testcontainers-python/discussions |
|
Actions
| https://github.com/testcontainers/testcontainers-python/actions |
|
Security and quality
| https://github.com/testcontainers/testcontainers-python/security |
|
Insights
| https://github.com/testcontainers/testcontainers-python/pulse |
| alexanderankin | https://github.com/alexanderankin |
| testcontainers:main | https://github.com/testcontainers/testcontainers-python/tree/main |
| mgorsk1:feat/645-fix-network-port-mapping | https://github.com/mgorsk1/testcontainers-python/tree/feat/645-fix-network-port-mapping |
| Conversation | https://github.com/testcontainers/testcontainers-python/pull/678 |
| Commits3 (3) | https://github.com/testcontainers/testcontainers-python/pull/678/commits |
| Checks | https://github.com/testcontainers/testcontainers-python/pull/678/checks |
| Files changed | https://github.com/testcontainers/testcontainers-python/pull/678/files |
| feat: refactor network setup | https://github.com/testcontainers/testcontainers-python/pull/678#top |
| alexanderankin | https://github.com/alexanderankin |
| testcontainers:main | https://github.com/testcontainers/testcontainers-python/tree/main |
| mgorsk1:feat/645-fix-network-port-mapping | https://github.com/mgorsk1/testcontainers-python/tree/feat/645-fix-network-port-mapping |
|
| https://github.com/mgorsk1 |
| mgorsk1 | https://github.com/mgorsk1 |
| Aug 13, 2024 | https://github.com/testcontainers/testcontainers-python/pull/678#issue-2462447176 |
| Please reload this page | https://github.com/testcontainers/testcontainers-python/pull/678 |
| #645 | https://github.com/testcontainers/testcontainers-python/issues/645 |
| Please reload this page | https://github.com/testcontainers/testcontainers-python/pull/678 |
| mgorsk1 | https://github.com/mgorsk1 |
| August 13, 2024 07:54 | https://github.com/testcontainers/testcontainers-python/pull/678#commits-pushed-b5c69f1 |
|
| https://github.com/mgorsk1 |
| refactor network setup | https://github.com/testcontainers/testcontainers-python/pull/678/commits/b5c69f15eca954cfdc170d147c8fac3dbef04c6f |
| b5c69f1 | https://github.com/testcontainers/testcontainers-python/pull/678/commits/b5c69f15eca954cfdc170d147c8fac3dbef04c6f |
|
| https://github.com/mgorsk1 |
| make linter happy | https://github.com/testcontainers/testcontainers-python/pull/678/commits/eb30486874b1a3a5701cd36e8edecce4b6f1178d |
| eb30486 | https://github.com/testcontainers/testcontainers-python/pull/678/commits/eb30486874b1a3a5701cd36e8edecce4b6f1178d |
| https://github.com/mgorsk1 |
| mgorsk1 | https://github.com/mgorsk1 |
|
Aug 13, 2024
| https://github.com/testcontainers/testcontainers-python/pull/678#ref-issue-2403119507 |
|
Bug: port mapping not working with with_network (with_exposed_ports)
#645
| https://github.com/testcontainers/testcontainers-python/issues/645 |
|
| https://github.com/mgorsk1 |
| extend tests | https://github.com/testcontainers/testcontainers-python/pull/678/commits/44186f02ed8548f0c3326113d68b7c19feb5ee7b |
| 44186f0 | https://github.com/testcontainers/testcontainers-python/pull/678/commits/44186f02ed8548f0c3326113d68b7c19feb5ee7b |
| https://github.com/apps/codecov |
| codecov | https://github.com/apps/codecov |
| Aug 13, 2024 | https://github.com/testcontainers/testcontainers-python/pull/678#issuecomment-2285962719 |
| Codecov | https://app.codecov.io/gh/testcontainers/testcontainers-python/pull/678?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=testcontainers |
| upload | https://docs.codecov.com/docs/codecov-uploader |
| Learn more | https://docs.codecov.io/docs/error-reference?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=testcontainers#section-missing-base-commit |
| ☔ View full report in Codecov by Sentry | https://app.codecov.io/gh/testcontainers/testcontainers-python/pull/678?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=testcontainers |
| Share it here | https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=testcontainers |
| Please reload this page | https://github.com/testcontainers/testcontainers-python/pull/678 |
| https://github.com/alexanderankin |
| alexanderankin | https://github.com/alexanderankin |
| d5de0aa | https://github.com/testcontainers/testcontainers-python/commit/d5de0aa01c7d3ba304446dd73347a1a7ec1facc7 |
| Aug 13, 2024 | https://github.com/testcontainers/testcontainers-python/pull/678#event-13861667727 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
|
Aug 13, 2024
| https://github.com/testcontainers/testcontainers-python/pull/678#ref-pullrequest-2440035296 |
|
chore(main): release testcontainers 4.8.0
#658
| https://github.com/testcontainers/testcontainers-python/pull/658 |
| alexanderankin | https://github.com/alexanderankin |
|
Aug 13, 2024
| https://github.com/testcontainers/testcontainers-python/pull/678#ref-commit-fefaae4 |
|
| https://github.com/mgorsk1 |
| feat: refactor network setup ( | https://github.com/testcontainers/testcontainers-python/commit/fefaae4d91084194b7f034e7a76e11432421459e |
| #678 | https://github.com/testcontainers/testcontainers-python/pull/678 |
| ) | https://github.com/testcontainers/testcontainers-python/commit/fefaae4d91084194b7f034e7a76e11432421459e |
| fefaae4 | https://github.com/testcontainers/testcontainers-python/commit/fefaae4d91084194b7f034e7a76e11432421459e |
| #645 | https://github.com/testcontainers/testcontainers-python/issues/645 |
| alexanderankin | https://github.com/alexanderankin |
|
Aug 14, 2024
| https://github.com/testcontainers/testcontainers-python/pull/678#ref-commit-c7d9b81 |
|
| https://github.com/apps/github-actions |
| chore(main): release testcontainers 4.8.0 ( | https://github.com/testcontainers/testcontainers-python/commit/c7d9b814fd0a9ab254b0f7d7f3fe09a76453d2c7 |
| #658 | https://github.com/testcontainers/testcontainers-python/pull/658 |
| ) | https://github.com/testcontainers/testcontainers-python/commit/c7d9b814fd0a9ab254b0f7d7f3fe09a76453d2c7 |
| c7d9b81 | https://github.com/testcontainers/testcontainers-python/commit/c7d9b814fd0a9ab254b0f7d7f3fe09a76453d2c7 |
| testcontainers-v4.7.2...testcontainers-v4.8.0 | https://github.com/testcontainers/testcontainers-python/compare/testcontainers-v4.7.2...testcontainers-v4.8.0 |
| #167 | https://github.com/testcontainers/testcontainers-python/pull/167 |
| #167 | https://github.com/testcontainers/testcontainers-python/pull/167 |
| 2d8bc11 | https://github.com/testcontainers/testcontainers-python/commit/2d8bc11c8e151af66456ebad156afc4a87822676 |
| 2d8bc11 | https://github.com/testcontainers/testcontainers-python/commit/2d8bc11c8e151af66456ebad156afc4a87822676 |
| #659 | https://github.com/testcontainers/testcontainers-python/pull/659 |
| #659 | https://github.com/testcontainers/testcontainers-python/pull/659 |
| e1e3d13 | https://github.com/testcontainers/testcontainers-python/commit/e1e3d13b47923dd7124196e6b743799bd87b6885 |
| e1e3d13 | https://github.com/testcontainers/testcontainers-python/commit/e1e3d13b47923dd7124196e6b743799bd87b6885 |
| #669 | https://github.com/testcontainers/testcontainers-python/pull/669 |
| #669 | https://github.com/testcontainers/testcontainers-python/pull/669 |
| 8c28a86 | https://github.com/testcontainers/testcontainers-python/commit/8c28a861ce4ade9e8204783e2ef2fd99013c90ea |
| 8c28a86 | https://github.com/testcontainers/testcontainers-python/commit/8c28a861ce4ade9e8204783e2ef2fd99013c90ea |
| #661 | https://github.com/testcontainers/testcontainers-python/pull/661 |
| #661 | https://github.com/testcontainers/testcontainers-python/pull/661 |
| b1453e8 | https://github.com/testcontainers/testcontainers-python/commit/b1453e87e1f5443f0f8d04c9b30a278aa835ca9b |
| b1453e8 | https://github.com/testcontainers/testcontainers-python/commit/b1453e87e1f5443f0f8d04c9b30a278aa835ca9b |
| #655 | https://github.com/testcontainers/testcontainers-python/pull/655 |
| #655 | https://github.com/testcontainers/testcontainers-python/pull/655 |
| 9161cb6 | https://github.com/testcontainers/testcontainers-python/commit/9161cb64a0a13b54a981b2b846a4d073db8c30a2 |
| 9161cb6 | https://github.com/testcontainers/testcontainers-python/commit/9161cb64a0a13b54a981b2b846a4d073db8c30a2 |
| #678 | https://github.com/testcontainers/testcontainers-python/pull/678 |
| #678 | https://github.com/testcontainers/testcontainers-python/pull/678 |
| d5de0aa | https://github.com/testcontainers/testcontainers-python/commit/d5de0aa01c7d3ba304446dd73347a1a7ec1facc7 |
| d5de0aa | https://github.com/testcontainers/testcontainers-python/commit/d5de0aa01c7d3ba304446dd73347a1a7ec1facc7 |
| #673 | https://github.com/testcontainers/testcontainers-python/pull/673 |
| #673 | https://github.com/testcontainers/testcontainers-python/pull/673 |
| 1e43923 | https://github.com/testcontainers/testcontainers-python/commit/1e439232e35ce0091f20993273e1f01d8c0119c4 |
| 1e43923 | https://github.com/testcontainers/testcontainers-python/commit/1e439232e35ce0091f20993273e1f01d8c0119c4 |
| #680 | https://github.com/testcontainers/testcontainers-python/pull/680 |
| #680 | https://github.com/testcontainers/testcontainers-python/pull/680 |
| 71c3a1a | https://github.com/testcontainers/testcontainers-python/commit/71c3a1a29e1839de91f05c6bcd4c620122195a94 |
| 71c3a1a | https://github.com/testcontainers/testcontainers-python/commit/71c3a1a29e1839de91f05c6bcd4c620122195a94 |
| #656 | https://github.com/testcontainers/testcontainers-python/pull/656 |
| #656 | https://github.com/testcontainers/testcontainers-python/pull/656 |
| fa2081a | https://github.com/testcontainers/testcontainers-python/commit/fa2081a7b325cdd316de28c99b029150022db203 |
| fa2081a | https://github.com/testcontainers/testcontainers-python/commit/fa2081a7b325cdd316de28c99b029150022db203 |
| #654 | https://github.com/testcontainers/testcontainers-python/pull/654 |
| #654 | https://github.com/testcontainers/testcontainers-python/pull/654 |
| e02c1b3 | https://github.com/testcontainers/testcontainers-python/commit/e02c1b37a651374f47abe72bc17941849c1fd12e |
| e02c1b3 | https://github.com/testcontainers/testcontainers-python/commit/e02c1b37a651374f47abe72bc17941849c1fd12e |
| #652 | https://github.com/testcontainers/testcontainers-python/issues/652 |
| #652 | https://github.com/testcontainers/testcontainers-python/issues/652 |
| https://github.com/googleapis/release-please | https://github.com/googleapis/release-please |
| https://github.com/googleapis/release-please#release-please | https://github.com/googleapis/release-please#release-please |
| https://github.com/alexanderankin |
| alexanderankin | https://github.com/alexanderankin |
|
Aug 14, 2024
| https://github.com/testcontainers/testcontainers-python/pull/678#ref-issue-2385876376 |
|
Bug: Running Container with_network makes get_exposed_port unreliable
#633
| https://github.com/testcontainers/testcontainers-python/issues/633 |
| https://github.com/skeletorXVI |
| skeletorXVI | https://github.com/skeletorXVI |
|
Sep 24, 2024
| https://github.com/testcontainers/testcontainers-python/pull/678#ref-issue-2288272687 |
|
Bug: concurrency causes Premature destruction of containers and networks (e.g. w/pytest-xdist)
#567
| https://github.com/testcontainers/testcontainers-python/issues/567 |
| https://github.co/hiddenchars |
| https://github.com/testcontainers/testcontainers-python/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftestcontainers%2Ftestcontainers-python%2Fpull%2F678 |
|
Bug: port mapping not working with with_network (with_exposed_ports)
| https://github.com/testcontainers/testcontainers-python/issues/645 |
| Please reload this page | https://github.com/testcontainers/testcontainers-python/pull/678 |
|
| https://github.com/mgorsk1 |
|
| https://github.com/alexanderankin |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |