Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/axtloss/jshipit
- Owner: axtloss
- License: gpl-3.0
- Created: 2023-05-15T07:09:52.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-21T07:34:33.000Z (10 months ago)
- Last Synced: 2024-02-21T08:36:05.776Z (10 months ago)
- Language: Java
- Homepage:
- Size: 98.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.0JShipIT 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
```