• Improve this Doc

    Show / Hide Table of Contents

    How to share images between projects

    Overview

    You may require the ability to use multiple projects, but may want to use custom images across those projects. Sharing images between projects enables you to create master images in a single project, and then share them into multiple other projects.

    This article provides examples of how to share images between OpenStack projects in the same region.

    Intended audience

    This article is intended for anyone responsible for the design and implementation of applications and services deployed on UKCloud's OpenStack service. Users should be familiar with using the OpenStack dashboard and API or CLI.

    Sharing images between projects

    Note

    You will require a RC file for both the source project and the destination project.

    1. Source the source project RC file.

    2. Locate the destination project:

      openstack project list

    3. Locate the image you want to share:

      openstack image list

    4. Set the image as shareable:

      openstack image set --shared image-id

    5. Share the image with the destination project:

      glance member-create image-id dest-project-id

    6. Source the destination RC file.

    7. Check that the image share is pending:

      openstack image member list image-id

    8. Accept the image share:

      openstack image set --accept image-id

    Feedback

    If you find a problem with this article, click Improve this Doc to make the change yourself or raise an issue in GitHub. If you have an idea for how we could improve any of our services, send an email to feedback@ukcloud.com.

    ☀
    ☾
    Generated by DocFX
    Back to top
    © UKCloud Ltd, 2022. All Rights Reserved.
    Privacy Policy. Terms of Use. Contribute.

    The UKCloud Knowledge Centre uses cookies to ensure that we give you the best experience on our website. If you continue we assume that you consent to receive all cookies on this website.