(lxc_image_import.md)=
# `lxc image import`

Import images into the image store

## Synopsis

Description:
  Import image into the image store

  Directory import is only available on Linux and must be performed as root.

  Descriptive properties can be set by providing key=value pairs. Example: os=Ubuntu release=noble variant=cloud.



```
lxc image import <tarball>|<directory>|<URL> [<rootfs tarball>] [<remote>:] [key=value...] [flags]
```

## Options

```
      --alias    New aliases to add to the image
      --public   Make image public
```

## Options inherited from parent commands

```
      --debug          Show all debug messages
      --force-local    Force using the local unix socket
  -h, --help           Print help
      --project        Override the source project
  -q, --quiet          Don't show progress information
      --sub-commands   Use with help or --help to view sub-commands
  -v, --verbose        Show all information messages
      --version        Print version number
```

## SEE ALSO

* [lxc image](lxc_image.md)	 - Manage images

