Why do I need to create a Docker network for my Conjur installation?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

Why do I need to create a Docker network for my Conjur installation?

L3 Networker

Hi everyone,

I’m setting up a self-hosted Conjur instance using Docker on a dedicated machine (this VM will only run the Conjur Leader). In the documentation (step 😎 there is the requirement to create a Docker network before deployment.

 

Since this host will only ever run the Conjur Leader, I was wondering:

 

Why do I need to create a custom Docker network for my Conjur installation?

Is it strictly required for Conjur components to communicate, or can Conjur work on the default Docker network with just the Conjur Leader running on this machine?

 

Documentation reference: https://docs.cyberark.com/secrets-manager-sh/13.7/en/content/deployment/dap/dap-before-deploy-vm.htm?tocpath=Setup%7CSet%20up%20Secrets%20Manager%20-%20Self-Hosted%20(Docker%252FPodman)%7CPrepare%20Secrets%20Manager%20environment%20for%20Docker%20or%20Podman%20deployment%7C_____1#Step8Planthecontainernetwork

 

Thanks!

3 REPLIES 3

L3 Networker

Hi @l b​,

 

You do not need to create a specific network just for the Conjur leader in your use case. The default docker network will allow the communication so long as there are no restrictions.

 

Personally, I create unique networks when I know containers will be communicating with each other. It just makes my life easier to know that the containers will be able to communicate with each other.

 

Of course if you're only running a single container then it does not matter!

 

Thanks,

 

Darren

Thanks again for the clarification!

 

Do you think we should update the documentation to clarify that creating a dedicated Docker network is optional for single-node deployments? idk

I'll take it with Documentation team. I'll see what they say.

 

Thanks for bringing it to my attention.

 

Darren

  • 22 Views
  • 3 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!