Skip to main content

Pull DB Server Image

In this example, we will pull the existence official database images via API commands and CLI command.

  • Pull an image by CLI commands

    vme data-image-create mysql:latest
  • Pull an image by API commands

    curl -X POST \
    -H "Content-Type: application/json" \
    -H 'username: xxxxx' \
    -H 'api-key: xxxxx' \
    -d '{"repository": "mysql", "tag": "latest"}' \
    "https://x.x.x.x/docker/image/pull"