Docker Container: Volume and Network
Hitesh Kumar Sharma, Anuj Kumar, Sangeeta Pant, Mangey Ram · River Publishers eBooks · 2023
Docker containers have many components in their ecosystems. Docker volume and Docker network are two main components. Docker volume is used for persisting the data inside a container and the Docker network is used for connecting the different containers to make them communicable with each other. Using a Docker volume, containers can also share the data. In this chapter, we have explained the significance of Docker volume and Docker network and the commands related to these components.