Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/axtloss/jshipit

OCI client written in java. PRs rejected until 2nd June
https://github.com/axtloss/jshipit

Last synced: about 1 month ago
JSON representation

OCI client written in java. PRs rejected until 2nd June

Awesome Lists containing this project

README

        

# JshipIT

a docker "reimplementation" in java.

supported/planned features:
- `jshipit pull` - pull a docker image
- `jshipit run` - run a command in a container
- `jshipit shell` - open a shell in a container
- `jshipit create` - create a container
- `jshipit delete` - delete a container

## Dependencies
NOTE: JShipIT only works on linux using the kernel >= 5.11.0

JShipIT requires the following dependencies:
- Java >= 17
- unshare
- bwrap
- maven

## Building
```bash
git clone https://github.com/axtloss/jshipit.git
cd jshipit
mvn compile package
```

## Usage

### Pulling an image
```bash
java -jar JavaShipit-1.0-SNAPSHOT-jar-with-dependencies.jar pull -i
```

### Creating a container
```bash
java -jar JavaShipit-1.0-SNAPSHOT-jar-with-dependencies.jar create -i -n
```

### Running a command in a container
```bash
java -jar JavaShipit-1.0-SNAPSHOT-jar-with-dependencies.jar run -n -c
```

### Opening a shell in a container
```bash
java -jar JavaShipit-1.0-SNAPSHOT-jar-with-dependencies.jar shell -n
```