dellorianes Posted October 24, 2021 Share Posted October 24, 2021 (edited) I hace two container that need to be in two ir more docker networks. After been updated or re-built, each time, they lost the "extra" networks and I need to execute the following command: "docker network connect --ip 172.x.x.x network docker" Is there a script that do the work for me after an update or re-built? Thank you Edited October 25, 2021 by dellorianes Quote Link to comment
hernandito Posted October 26, 2021 Share Posted October 26, 2021 (edited) You can create a custom scrpt w UserScript plug-in where you can run it hourly or daily…. Or a custom cron setting. Edited October 26, 2021 by hernandito 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.