We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5cd595 commit 410b05dCopy full SHA for 410b05d
docs/features/containers.md
@@ -574,7 +574,7 @@ const httpPort = container.getFirstMappedPort();
574
575
Specify a protocol for the exposed port:
576
577
-```javascript
+```js
578
const container = await new GenericContainer("alpine")
579
.withExposedPorts({
580
container: 80,
@@ -587,7 +587,7 @@ const httpPort = container.getMappedPort(80, "udp");
587
588
Alternatively, specify the protocol using a string with the format `port/protocol`:
589
590
591
592
.withExposedPorts("80/udp")
593
.start();
0 commit comments