GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • https://apptainer.org/docs/
  • Singularity
  • News
  • Docs
  • Admin Guide
  • User Guide
  • Archive
  • Contributed Content
  • Github Repo
  • Google Group
  • Singularity on Stack Overflow
  • Singularity Hub
  • Slack
  • Troubleshooting

This view

  • Original page
  • New address

GeezerVison is showing singularityware.github.io — instance.list | Singularity

 
  • User Guide
  • Getting Started
    • Quick Start
    • Introduction
    • Installation
    • Build a Container
    • Build Environment
    • Container Recipes
    • Singularity Flow
    • Bind Paths and Mounts
    • Persistent Overlays
    • Running Services
    • Container Checks
    • Environment and Metadata
    • Reproducible SCI-F Apps
    • Singularity and Docker
    • Troubleshooting
  • Commands
    • Command Usage
    • build
    • exec
    • inspect
    • pull
    • run
    • shell
  • Image Command Group
    • image.export
    • image.expand
    • image.import
    • image.create
  • Instance Command Group
    • instance.start
    • instance.list
    • instance.stop
  • Deprecated
    • bootstrap

instance.list

These docs are for Singularity Version 2.5.2. For older versions, see our archive

New in Singularity version 2.4 you can use the instance command group to run instances of containers in the background. This is useful for running services like databases and web servers. The instance.list command lets you keep track of the named instances running in the background.

Overview

After initiating one or more named instances to run in the background with the instance.start command you can list them with the instance.list command.

Examples

These examples use a container from Singularity Hub, but you can use local containers or containers from Docker Hub as well. For a more detailed look at instance usage see Running Instances.

Start a few named instances from containers on Singularity Hub

$ singularity instance.start shub://GodloveD/lolcow cow1
$ singularity instance.start shub://GodloveD/lolcow cow2
$ singularity instance.start shub://vsoch/hello-world hiya

List running instances

$ singularity instance.list
DAEMON NAME      PID      CONTAINER IMAGE
cow1             20522    /home/ubuntu/GodloveD-lolcow-master.img
cow2             20558    /home/ubuntu/GodloveD-lolcow-master.img
hiya             20595    /home/ubuntu/vsoch-hello-world-master.img

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.