Class GetDockerContainerIdCommand

  • All Implemented Interfaces:
    AdminCommand

    @Service(name="_get-docker-container-id")
    @PerLookup
    @ExecuteOn(DAS)
    public class GetDockerContainerIdCommand
    extends Object
    implements AdminCommand
    Internal Asadmin command that retrieves the Docker container ID registered to an instance. This is used by the Docker entrypoint script to check whether it needs to create a new instance or not due to a naming conflict.
    Author:
    Andrew Pielage
    • Constructor Detail

      • GetDockerContainerIdCommand

        public GetDockerContainerIdCommand()
    • Method Detail

      • execute

        public void execute​(AdminCommandContext adminCommandContext)
        Description copied from interface: AdminCommand
        Executes the command with the command parameters passed as Properties where the keys are the parameter names and the values are the parameter values
        Specified by:
        execute in interface AdminCommand
        Parameters:
        adminCommandContext - information