Last active
April 10, 2019 12:59
-
-
Save alirezameskin/01c294cf707f201720f744d0fddc0734 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def pull(image:String): Free[DockerOperation, String] = Free.liftF(Pull(image)) | |
def run(image:String, command:String*): Free[DockerOperation, String] = Free.liftF(Run(image, command)) | |
def exec(containerId:String, command:String*): Free[DockerOperation, String] = Free.liftF(Exec(containerId, command)) | |
def kill(containerId:String): Free[DockerOperation, String] = Free.liftF(Kill(containerId)) | |
def remove(containerId:String): Free[DockerOperation, String] = Free.liftF(Remove(containerId)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment