Redgate Clone

Creating a data container

Similar to Docker, a data container is generated based on a data image. To create a data container in this example, you should have already created a data image named dev.

For the data container creation, we simply run a rgclone command referencing our data image using the --image parameter:

# Create data container from image dev
rgclone create data-container --image dev

Data containers have a lifetime that will cause them to be deleted when they expire. The server admins will set a default value for this. You can override the default using the --lifetime parameter:

# Create data container from image dev that will expire in 2 hours
rgclone create dc --image dev --lifetime 2h

Full use of the create command is documented in the CLI reference


Didn't find what you were looking for?