Is it possible to reverse engineer a container running on container station to a docker compose file?
If not, does anyone has an example to setup network mode to bridge and static IP using docker compose file?
Thanks
docker-compose network configuration?
-
- New here
- Posts: 5
- Joined: Sat Jul 28, 2018 5:08 am
-
- New here
- Posts: 4
- Joined: Tue Feb 01, 2011 7:47 pm
Re: docker-compose network configuration?
i am looking for the exact same thing.
right now i am trying to get a nextcloud setup up and running with a docker compose package but it's not possible to start everything if it has not a proper IP behind a bridged interface (at least from what I have found out so far).
if someone has an idea how it's possible to get a container running in this setup it would be amazing.
thanks!
right now i am trying to get a nextcloud setup up and running with a docker compose package but it's not possible to start everything if it has not a proper IP behind a bridged interface (at least from what I have found out so far).
if someone has an idea how it's possible to get a container running in this setup it would be amazing.
thanks!
-
- Know my way around
- Posts: 224
- Joined: Thu Nov 26, 2009 4:28 am
Re: docker-compose network configuration?
TVS-672N h5.0.1.2248 build 20221215
i7-8700T | 64GB DDR4 (2 x M471A4G43MB1-CTD) | 2 x Samsung 970 Evo Plus 1.0TB | 6 x 18TB HGST HC550
- oyvindo
- Experience counts
- Posts: 1399
- Joined: Tue May 19, 2009 2:08 am
- Location: Norway, Oslo
Re: docker-compose network configuration?
@chodaboy19, This is a very useful link.
But I was looking for an compose example on how to create a container running network=HOST and in privileged mode.
Any idea on how to build the compose syntax for this?
But I was looking for an compose example on how to create a container running network=HOST and in privileged mode.
Any idea on how to build the compose syntax for this?