Skip to main content

How to run a SDC docker container with external volumes

  • November 23, 2021
  • 0 replies
  • 34 views

Sami
StreamSets Employee
  • StreamSets Employee

 

Question 

Run the SDC container with external volumes

 

Answer

The docker volumes help to backup the container's in case of failure 

We need to follow the below steps for run a docker container with volumes

- First, we need to create the container using the below command 

 

$ docker run  -p 18636:18630 -d --memory="15000m"  --name sdc streamsets/datacollector:<version>

The above commands create the container and now we'll copy the content from the container to outside the host using the below command: 

 

 

After that, we ran the below command to start the container with volumes: 

 

Did this topic help you find an answer to your question?
This topic has been closed for comments