Antilint
This commit is contained in:
parent
d1d196821f
commit
3e8c8b703d
@ -1,5 +1,5 @@
|
||||
from enum import Enum
|
||||
from typing import Optional, Tuple, Dict
|
||||
from typing import Dict, Optional, Tuple
|
||||
|
||||
import attr
|
||||
|
||||
@ -86,8 +86,12 @@ class DockerContainerRun(Utensil):
|
||||
async def execute(self, channel: Channel, worktop: Worktop):
|
||||
try:
|
||||
container = _docker_client().containers.run(
|
||||
self.image, self.command, detach=True,
|
||||
name=self.name, ports=self.ports, volumes=self.volumes
|
||||
self.image,
|
||||
self.command,
|
||||
detach=True,
|
||||
name=self.name,
|
||||
ports=self.ports,
|
||||
volumes=self.volumes,
|
||||
)
|
||||
|
||||
except docker.errors.ImageNotFound:
|
||||
|
Loading…
Reference in New Issue
Block a user