Open hosh opened 9 years ago
@hosh I can go ahead and run through these for you
@hosh In 005 I got to step 4 and when running make I got the following error:
$ make
mkdir /ipns/local/docker-registry
Starting docker-registry on ipfs if it is not already started
docker ps | grep ipfs-registry || docker run -d \
-p 5000:5000 \
--name ipfs-registry \
-v /ipns/local/docker-registry:/ipns/local/docker-registry \
-t \
ipfs/docker-registry:0.1.0
2c591d9b8ab38c17b2462cbc33b8c42b1ee59b1ae29ce81937d15570f8162c85
Loading demo image if it is not already loaded
docker images | grep 4986bf8c1536 || docker load < /ipfs/QmPveebHsVPpS6Q9oPEtDBjJARnWFNNGuLhuCQE9aCejte/busybox.img
docker tag -f 4986bf8c1536 "busybox:latest"
docker tag -f "busybox:latest" "localhost:5000/busybox"
docker push "localhost:5000/busybox"
The push refers to a repository [localhost:5000/busybox] (len: 1)
Sending image list
Pushing repository localhost:5000/busybox (1 tags)
511136ea3c5a: Image successfully pushed
df7546f9f060: Image successfully pushed
ea13149945cb: Image successfully pushed
4986bf8c1536: Image successfully pushed
Pushing tag for rev [4986bf8c1536] on {http://localhost:5000/v1/repositories/busybox/tags/latest}
Look, we have a registry
ls /ipns/local/docker-registry/images
4986bf8c15363d1c5d15512d5266f8777bfba4974ac56e3270e7760f6f0a8125
511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158
df7546f9f060a2268024c8a230d8639878585defcc1bc6f79d2728a13957871b
ea13149945cb6b1e746bf28032f02e9b5a793523481a0a18645fc77ad53c4ea2
Deleting demo image and try a pull
docker rmi -f 4986bf8c1536
Untagged: busybox:latest
docker pull "localhost:5000/busybox"
Pulling repository localhost:5000/busybox
2015/04/21 14:15:52 invalid character 'a' after top-level value
make: *** [demo] Error 1
Mounting IPFS on
/ipns/local/docker-registry
Supercedes #19 Fixes #1 Fixes #2 Fixes #3