WIP: fixing docker issues
This commit is contained in:
parent
26d9918eb1
commit
5be81ececf
@ -9,18 +9,18 @@ import click
|
||||
def start(d: str):
|
||||
"""if d is present, run docker compose as daemon"""
|
||||
if d:
|
||||
check_call(["docker-compose", "up", "-d"])
|
||||
check_call(["docke", "compose", "up", "-d"])
|
||||
click.echo("docker running in the background...")
|
||||
else:
|
||||
check_call(["docker-compose", "up"])
|
||||
check_call(["docker", "compose", "up"])
|
||||
|
||||
|
||||
def stop():
|
||||
check_call(["docker-compose", "down"])
|
||||
check_call(["docker", "compose", "down"])
|
||||
|
||||
|
||||
def build():
|
||||
check_call(["docker-compose", "build"])
|
||||
check_call(["docker", "compose", "build"])
|
||||
|
||||
|
||||
def attach():
|
||||
@ -30,4 +30,4 @@ def attach():
|
||||
@click.command()
|
||||
@click.argument("args", nargs=-1)
|
||||
def exec(args: List[str]):
|
||||
check_call(["docker-compose", "exec", "mev-inspect", *args])
|
||||
check_call(["docker", "compose", "exec", "mev-inspect", *args])
|
||||
|
@ -18,7 +18,8 @@ import click
|
||||
def inspect(block_number: str, rpc: str, cache: bool):
|
||||
check_call(
|
||||
[
|
||||
"docker-compose",
|
||||
"docker",
|
||||
"compose",
|
||||
"exec",
|
||||
"mev-inspect",
|
||||
"python",
|
||||
|
Loading…
x
Reference in New Issue
Block a user