Bug 1875725 - document how to build a container disk and when it should be used
Summary: document how to build a container disk and when it should be used
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Documentation
Version: 2.5.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 2.5.0
Assignee: Andrew Burden
QA Contact: Israel Pinto
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-09-04 08:07 UTC by Tomas Jelinek
Modified: 2020-11-18 10:48 UTC (History)
3 users (show)

Fixed In Version: 2.5.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-17 13:24:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift openshift-docs pull 25289/files 0 None None None 2020-10-05 14:16:38 UTC
Github openshift openshift-docs pull 25359 0 None closed Cnv bz1875725 containerdisks 2021-01-07 05:45:42 UTC
Red Hat Product Errata RHEA-2020:5127 0 None None None 2020-11-17 13:24:41 UTC

Description Tomas Jelinek 2020-09-04 08:07:11 UTC
CNV supports to create container disks and than attaching them to VMs and boot the VM from them. The ask is to document this functionality.

Document URL: 

Section Number and Name: 

Describe the issue: 

Suggestions for improvement: 

Additional information:

Comment 1 Dan Kenigsberg 2020-09-04 08:31:13 UTC
Upstream has

cat << END > Dockerfile
FROM scratch
ADD fedora25.qcow2 /disk/
END
docker build -t vmdisks/fedora25:latest .
docker push vmdisks/fedora25:latest


We should use podman and rhel.

Comment 3 Dan Kenigsberg 2020-09-08 17:58:18 UTC
Reintroducing the target milestone. containerDisks are already being used. We should document when they can be used (immutable filesystems) and how to create them.

Comment 4 Andrew Burden 2020-09-08 19:23:29 UTC
Thanks for the PR, Dan; always appreciated. Unfortunately I'll have to open a separate PR to cover this because it breaks our FCC conventions (procedure within a reference module) - happy to talk more about that, if you'd like. 
Moving this to Assigned.

Comment 6 Israel Pinto 2020-10-27 07:01:34 UTC
Reviewed doc, LGTM.

Comment 9 errata-xmlrpc 2020-11-17 13:24:22 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (OpenShift Virtualization 2.5.0 Images), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2020:5127

Comment 10 Andrew Burden 2020-11-18 10:48:01 UTC
This content has now been published and can be viewed here:
https://docs.openshift.com/container-platform/4.6/virt/virtual_machines/virtual_disks/virt-using-container-disks-with-vms.html


Note You need to log in before you can comment on or make changes to this bug.