https://github.com/suse/container-feeder
Import Linux container images delivered as RPMs into a local docker daemon
https://github.com/suse/container-feeder
docker rpm suse
Last synced: 5 months ago
JSON representation
Import Linux container images delivered as RPMs into a local docker daemon
- Host: GitHub
- URL: https://github.com/suse/container-feeder
- Owner: SUSE
- License: apache-2.0
- Created: 2017-02-27T11:26:56.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-10-11T12:28:21.000Z (over 1 year ago)
- Last Synced: 2024-12-09T13:08:56.376Z (5 months ago)
- Topics: docker, rpm, suse
- Language: Go
- Size: 18.6 MB
- Stars: 9
- Watchers: 34
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.org/kubic-project/container-feeder)
# container-feeder
This is a simple program that looks for all the Docker images shipped by RPMs,
finds the ones that are not available to the Docker daemon running on the local
machine and imports the missing ones.This is a temporary solution needed until SUSE hosts its own image repository.
# Building
Checkout the code and then run:
```
make build
```This project uses [hellogopher](https://github.com/cloudflare/hellogopher) to
simplify the building aspects of it.The `container-feeder` binary can be found under the `bin/` directory.
# Usage
To import all the missing RPM images:
```
./container-feeder
```It's possible to specify the name of the directory containing all the `.tar.xz`
files:```
./container-feeder --dir
```By default the program will look for the images under `/usr/share/suse-docker-images/native`.
# Limitations
This program will *"docker load"* all the `.tar.xz` images that have to be
available to the local docker daemon.These images must be native docker images, they cannot be tarballs containing
just the root filesystem of the image. Hence it's not possible to import the
pre-built Docker images that are currently shipped by SUSE.# License
`container-feeder` is licensed under the terms of the Apache 2.0 license.
```
container-feeder: import Linux container images delivered as RPMs
Copyright 2017 SUSE LLCLicensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```