AxDockerSession
Class: AxDockerSession
Constructors
new AxDockerSession()
new AxDockerSession(
apiUrl
):AxDockerSession
Parameters
• apiUrl: string
= 'http://localhost:2375'
Returns
Defined in
Methods
connectToContainer()
connectToContainer(
containerId
):Promise
<void
>
Parameters
• containerId: string
Returns
Promise
<void
>
Defined in
createContainer()
createContainer(
__namedParameters
):Promise
<object
>
Parameters
• __namedParameters: Readonly
<object
>
Returns
Promise
<object
>
Id
Id:
string
Defined in
executeCommand()
executeCommand(
command
):Promise
<string
>
Parameters
• command: string
Returns
Promise
<string
>
Defined in
findOrCreateContainer()
findOrCreateContainer(
__namedParameters
):Promise
<object
>
Parameters
• __namedParameters: Readonly
<object
>
Returns
Promise
<object
>
Id
Id:
string
isNew
isNew:
boolean
Defined in
getContainerLogs()
getContainerLogs():
Promise
<string
>
Returns
Promise
<string
>
Defined in
listContainers()
listContainers(
all
):Promise
<AxDockerContainer
[]>
Parameters
• all: boolean
= false
Returns
Promise
<AxDockerContainer
[]>
Defined in
pullImage()
pullImage(
imageName
):Promise
<void
>
Parameters
• imageName: string
Returns
Promise
<void
>
Defined in
startContainer()
startContainer():
Promise
<void
>
Returns
Promise
<void
>
Defined in
stopContainers()
stopContainers(
__namedParameters
):Promise
<object
[]>
Parameters
• __namedParameters: Readonly
<object
>
Returns
Promise
<object
[]>
Defined in
toFunction()
toFunction():
AxFunction