Hi,
lxc launch ubuntu:22.04 u1
Creating u1
Error: Failed instance creation: Failed getting remote image info: Failed getting image: The requested image couldn’t be found
what I’m missing here? thanks
Hi,
lxc launch ubuntu:22.04 u1
Creating u1
Error: Failed instance creation: Failed getting remote image info: Failed getting image: The requested image couldn’t be found
what I’m missing here? thanks
try ubuntu/jammy or better yet ubuntu/jammy/cloud
root@costello:/tank/feurig# lxc image list images: |grep ubuntu|grep 22.04
root@costello:/tank/feurig# lxc image list images: |grep ubuntu|grep jammy
| ubuntu/jammy (7 more) | 5d0f184d7336 | yes | Ubuntu jammy amd64 (20221102_07:42) | x86_64 | CONTAINER | 114.53MB | Nov 2, 2022 at 12:00am (UTC) |
| ubuntu/jammy (7 more) | cae1f2455994 | yes | Ubuntu jammy amd64 (20221102_07:42) | x86_64 | VIRTUAL-MACHINE | 251.84MB | Nov 2, 2022 at 12:00am (UTC) |
| ubuntu/jammy/arm64 (3 more) | 4fc858b1c6f5 | yes | Ubuntu jammy arm64 (20221102_07:43) | aarch64 | VIRTUAL-MACHINE | 254.22MB | Nov 2, 2022 at 12:00am (UTC) |
| ubuntu/jammy/arm64 (3 more) | ef8d4475987a | yes | Ubuntu jammy arm64 (20221102_07:43) | aarch64 | CONTAINER | 109.01MB | Nov 2, 2022 at 12:00am (UTC) |
| ubuntu/jammy/armhf (3 more) | 906fe81ad165 | yes | Ubuntu jammy armhf (20221102_07:43) | armv7l | CONTAINER | 106.85MB | Nov 2, 2022 at 12:00am (UTC) |
| ubuntu/jammy/cloud (3 more) | a9e2db95d0b2 | yes | Ubuntu jammy amd64 (20221102_07:42) | x86_64 | VIRTUAL-MACHINE | 277.58MB | Nov 2, 2022 at 12:00am (UTC) |
| ubuntu/jammy/cloud (3 more) | bacc8dd9e754 | yes | Ubuntu jammy amd64 (20221102_07:42) | x86_64 | CONTAINER | 131.41MB | Nov 2, 2022 at 12:00am (UTC) |
| ubuntu/jammy/cloud/arm64 (1 more) | 9c0c49249c98 | yes | Ubuntu jammy arm64 (20221102_07:43) | aarch64 | VIRTUAL-MACHINE | 279.46MB | Nov 2, 2022 at 12:00am (UTC) |
| ubuntu/jammy/cloud/arm64 (1 more) | fe35641a36b4 | yes | Ubuntu jammy arm64 (20221102_07:43) | aarch64 | CONTAINER | 125.37MB | Nov 2, 2022 at 12:00am (UTC) |
| ubuntu/jammy/cloud/armhf (1 more) | e9240f922b37 | yes | Ubuntu jammy armhf (20221102_07:43) | armv7l | CONTAINER | 123.65MB | Nov 2, 2022 at 12:00am (UTC) |
| ubuntu/jammy/cloud/ppc64el (1 more) | 79dad3e90900 | yes | Ubuntu jammy ppc64el (20221102_07:42) | ppc64le | CONTAINER | 135.23MB | Nov 2, 2022 at 12:00am (UTC) |
| ubuntu/jammy/cloud/s390x (1 more) | b86c2fefeef0 | yes | Ubuntu jammy s390x (20221102_07:42) | s390x | CONTAINER | 101.81MB | Nov 2, 2022 at 12:00am (UTC) |
| ubuntu/jammy/desktop (3 more) | 34268edc7c8e | yes | Ubuntu jammy amd64 (20221102_07:42) | x86_64 | VIRTUAL-MACHINE | 931.57MB | Nov 2, 2022 at 12:00am (UTC) |
| ubuntu/jammy/ppc64el (3 more) | 0c5d5c235c15 | yes | Ubuntu jammy ppc64el (20221102_07:42) | ppc64le | CONTAINER | 117.36MB | Nov 2, 2022 at 12:00am (UTC) |
| ubuntu/jammy/s390x (3 more) | 749040518eba | yes | Ubuntu jammy s390x (20221102_07:42) | s390x | CONTAINER | 85.97MB | Nov 2, 2022 at 12:00am (UTC) |
ubuntu:22.04
should work just fine though.
Those are the official Ubuntu images which are different from the community images.
It may be a bad cache or index file at the time, doing lxc image info ubuntu:22.04
would be useful to see if the issue still persists or was resolved. If that commands work, then it means it’s the cache being bad, which can be flushed manually to resolve this.
My bad, I always defer to images: (and copy them locally)
What Stéphan suggested works from here.
root@costello:/tank/feurig# lxc image info ubuntu:22.04
Fingerprint: 75320c2df0d6f64dd6900b34614abe330940508089db3c9889f1fb8dbabb533b
Size: 433.64MB
Architecture: x86_64
Type: container
Public: yes
Timestamps:
Created: 2022/11/01 00:00 UTC
Uploaded: 2022/11/01 00:00 UTC
Expires: 2027/04/21 00:00 UTC
Last used: never
Properties:
architecture: amd64
label: release
serial: 20221101.1
description: ubuntu 22.04 LTS amd64 (release) (20221101.1)
type: squashfs
os: ubuntu
release: jammy
version: 22.04
Aliases:
- 22.04
- 22.04/amd64
- default
- default/amd64
- j
- j/amd64
- jammy
- jammy/amd64
- lts
- lts/amd64
- ubuntu
- amd64
Cached: no
Auto update: disabled
Profiles: []
not a related post, when I clicked the new topic under LXD, got a message that ‘you are not allowed to create topics in this category’, why?
LXD is no longer part of the Linux Containers project, as a result, this forum is no longer the place for support on it.