Yes in this case it is. It will create a network namespace which both containers will be part of. If you require additional configuration of the network then my-network can be extended accordingly.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.