Create a Docker Network Kodekloud




Question: The Nautilus DevOps team needs to set up several docker environments for different applications. One of the team members has been assigned a ticket where he has been asked to create some docker networks to be used later. Complete the task based on the following ticket description:

 a. Create a docker network named as ecommerce on App Server 2 in Stratos 

 b. Configure it to use macvlan drivers.

 c. Set it to use subnet and iprange



Login to mentioned server

ssh [email protected]

Login as root

sudo su

Create the docker network

docker network create -d macvlan --subnet= --ip-range= ecommerce 

Check the network

docker network ls

docker network inspect ecommerce

Share on Google Plus

About Ashadullah Shawon

I am Ashadullah Shawon. I am a Software Engineer. I studied Computer Science and Engineering (CSE) at RUET. I Like To Share Knowledge. Learn More: Click Here
    Blogger Comment
    Facebook Comment


Post a Comment