Celestica Documentation Portal

Find your product documents here

Image remove

Removes installed image.

Syntaximage remove {all | <image-name>}
Command mode EXEC
Parameters
  • image-name – Name of installed image.

Usage
  • Use this command to remove installed image.

  • all option removes all images which are not current or next.

Supported Releases 1.0.0 or later
Click command
  • sonic-installer remove <image-name>

  • sonic-installer cleanup

Example
sonic# image remove SONiC-OS-staging_202205.0-dirty-20230124.120342
Success
sonic#