Function: navigateToImageRun()
navigateToImageRun(
id,engineId,tag):Promise<void>
Defined in: packages/extension-api/src/extension-api.d.ts:5122
Navigate to the Image Run referenced by id, engineId and tag
Parameters
id
string
engineId
string
tag
string
Returns
Promise<void>
Example
import { navigation, containerEngine } from '@podman-desktop/api';
const images = await containerEngine.listImages();
const helloWorld = images.find(image => image.RepoTags?.find(tag => tag === 'quay.io/podman/hello:latest'));
if(helloWorld) {
await navigation.navigateToImageRun(helloWorld.Id, helloWorld.engineId, helloWorld.RepoTags?.[0] ?? '<none>');
}