Learn R Programming

paws.compute (version 0.1.13)

lightsail_delete_container_image: Deletes a container image that is registered to your Amazon Lightsail container service

Description

Deletes a container image that is registered to your Amazon Lightsail container service.

Usage

lightsail_delete_container_image(serviceName, image)

Value

An empty list.

Arguments

serviceName

[required] The name of the container service for which to delete a registered container image.

image

[required] The name of the container image to delete from the container service.

Use the get_container_images action to get the name of the container images that are registered to a container service.

Container images sourced from your Lightsail container service, that are registered and stored on your service, start with a colon (:). For example, :container-service-1.mystaticwebsite.1. Container images sourced from a public registry like Docker Hub don't start with a colon. For example, nginx:latest or nginx.

Request syntax

svc$delete_container_image(
  serviceName = "string",
  image = "string"
)