Skip to content

Commit cd7c04e

Browse files
committed
Update docs
1 parent 5d284eb commit cd7c04e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/testcontainers/core/container.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ class DockerContainer:
3939
:code:`get_exposed_port(PORT)` method to get the port number on the host.
4040
volumes: Volumes to mount into the container. Each entry should be a tuple with
4141
three values: host path, container path and. mode (default 'ro').
42+
network: Optional network to connect the container to.
43+
network_aliases: Optional list of aliases for the container in the network.
4244
4345
.. doctest::
4446

0 commit comments

Comments
 (0)