Docker registry with node http-server
2.9K
🎉🐥Disco - distro duck - distro node - 🐳Docker registry with node http-server
docker run -it -p 5000:5000 -p 8080:8080 jdelemar/registry-server /bin/sh
# to start the Docker registry server and send it to the background
# at the prompt type:
registry serve /etc/docker/registry/config.yml &
# TODO: fix that - the docker-compose file does not have that issue
docker-compose.yml
version: "3.1"
services:
registry-server:
image: jdelemar/registry-server
command: >
sh -c "registry serve /etc/docker/registry/config.yml &
tail -f /dev/null"
ports:
- 5000:5000
- 8080:8080
The Docker registry will be available for connections at localhost:5000
Note: No browser response on port 5000
Type http-server or hs to browse/download files from the container at http://localhost:8080
REGISTRY="localhost:5000"
IMAGE="jdelemar/registry-server:latest"
docker pull $IMAGE
docker tag $IMAGE $REGISTRY/$IMAGE
docker push $REGISTRY/$IMAGE
📂registry
/etc/docker/registry/config.yml/var/lib/registry📏110MB
🛳5000 - Docker registry/distribution
🛳8080 - http-server
GitHub source code
Docker repository
Docker registry
Node.js Dockerfile source
View license information for this Docker project.
As with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).
As for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.
Content type
Image
Digest
Size
35.6 MB
Last updated
over 6 years ago
docker pull jdelemar/registry-server