Skip to content

JuliaServices/Harbor.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Harbor

Julia package for managing docker images and containers, with an aim to make testing with external resources simple and easy.

GitHub Actions : Build Status

Installation

using Pkg
Pkg.add("Harbor")

Usage

using Harbor

# pull an image
Harbor.pull("alpine")

# list images
Harbor.images()

# run a container
container = Harbor.run!("alpine"; command=["echo", "hello world"])

# list containers
Harbor.ps()

# stop a container
Harbor.stop!(container)

# remove a container
Harbor.remove!(container)

# lifecycle-managed container block
Harbor.with_container("alpine") do container
    # container is automatically stopped and removed at the end of this block
end

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages