Not able to start up hyperledger fabric network - hyperledger-fabric

I'm getting below error when running command ./fabricNetwork.sh up.
error
Error : manifest for hyperledger/fabric-ca:latest not found
Error : no such container : cli
errror screenshot
https://i.stack.imgur.com/DXSIz.jpg
docker files
https://github.com/NavyaGouru/Ashish_HLF

Try hyperledger/fabric-ca:1.4.8. latest tag has been deprecated instead use a specific tag. Fix your Local Image and Docker Image error too by updating Local Images to 1.4.8.

#alpha as already answered the question. I'd just like to add one point to it. You can pass the image tag to be used to launch the network using -i to the command. Its default value latest. You can see this by passing the --help flag to the command ./fabricNetwork.sh up.
The Local Version of the images can be found in the .env file in the directory. DOCKER_IMAGE_VERSION is the version that you pass using the -i flag. These two should have the same value otherwise you'll get this.
=================== WARNING ===================
Local fabric binaries and docker images are
out of sync. This may cause problems.
===============================================
ERROR! Fabric Docker image version of 1.4.8 does not match the versions supported by the test network.

Related

Docker container --tls-min-v1.0 is not allowed in NODE_OPTIONS

I am trying to run a Kibana docker container.
When I launch it I get this error
/usr/share/kibana/bin/../node/bin/node: --tls-min-v1.0 is not allowed
in NODE_OPTIONS
I cannot see any options being specified. I thought I cracked it when I noted that this option is only available in NODE > 12.00
I upgraded the container to use NODE 12.3.1 but the problem persists.
Has anyone come across this before, and if so how did you go about fixing it?

Error when trying to bring up the test network

I trying to follow tutorials and develope on Ubuntu. Then get an error when comes to "Bring up the test network" part. I successfully run the following command to print the script help text of the test network.
./network.sh -h
When I want to run the next command to bring up the network
./network.sh up
I get the message as follow
Starting nodes with CLI timeout of '5' tries and CLI delay of '3' seconds and using database 'leveldb' with crypto from 'cryptogen'
ERROR! Peer binary and configuration files not found..
May somebody tells me what's happened? Kindly helps.
I had the same issue, looks like you need to fetch system specific binaries:
https://hyperledger-fabric.readthedocs.io/en/release-2.2/test_network.html
I ran the curl command in the root dir without specifying the versions.
curl -sSL https://raw.githubusercontent.com/hyperledger/fabric/master/scripts/bootstrap.sh | bash -s
Make sure you add the ./bin to .gitignore
Be sure to use
./network.sh up
from the test network folder and that test network folder is contained in fabric samples, because it could use binaries from different directories contained inside fabric samples and moving it could cause your error.
Also try to set this environment variable
FABRIC_CFG_PATH=$PWD
to force Fabric to be launched in your test network folder
first bring down the network to clean up
cd test-network
./network.sh down
start the network agian
./network.sh up
Before you can deploy the test network, you need to follow the instructions to Install the Samples, Binaries and Docker Images in the Hyperledger Fabric documentation.

LibreOffice Online on Debian with Docker

I'm trying to install libreoffice online on debian (i can change OS if necessary but still linux) with docker and i tried this image that i found on docker hub :
https://hub.docker.com/r/libreoffice/online/
docker pull libreoffice/online.
BUT : when i use this command,
Using default tag: latest
Error response from daemon: manifest for libreoffice/online:latest not found
I search on the web if someone had the same problem but i found nothing at all.
Sorry if i wrote something bad i'm still learning linux.
Could someone help me please ?
Have a nice day.
Pull an image from Docker Hub
To download a particular image, or set of images (i.e., a repository), use docker pull. If no tag is provided, Docker Engine uses the :latest tag as a default.
As you can see at hub.docker.com/r/libreoffice/online/tags (and also the error message says so), there is no latest tag for this image. Try:
docker pull libreoffice/online:master

Issue bringing up Hyperledger Fabric "Building Your First Network" sample

while I am running this command from my terminal
sudo ./byfn.sh -m up
I am getting below error:
Starting with channel 'my-channel' and CLI timeout of '10' seconds
and CLI delay of '3' seconds Continue (y/n)? y proceeding ...
Pulling orderer.example.com (hyper-ledger/fabric-orderer:latest)...
ERROR: manifest for hyper-ledger/fabric-orderer:latest not found
ERROR !!!! Unable to start network Error response from daemon: No
such container: cli
How do I resolve this please?
You need to download platform specific binaries, please see how to do it here in the following tutorial. Please also make sure you have all per-requisites, you can find more about what needed here.
Ideally, you should download the platform binaries and images as given in the Fabric documentation - Install Binaries and Docker Images
Or
You should make sure that your terminal has internet access & not behind any corporate proxy. Whatever is needed would be pulled by docker anyway. I am guessing that hyperledger/fabric-baseos image is not pulled by the script above.
If you don't find hyperledger/fabric-baseos:latest,then either docker pull hyperledger/fabric-baseos:tag depends on the fabric version on your own
Or, the chaincode instantiate process in byfn- end to end CLI would do it for you.
I had the same issue. Turns out it was just a broken docker-compose installation. I simply figured it out typing docker-compose in my terminal, and I ran into ImportError: No module named ssl_match_hostname
With a clean docker compose install, I got it to work.

Docker Pull Python

I'm a beginner trying to user Docker with my python3 code.
This is my Dockerfile
FROM rdempsey/python-scraper:latest
ADD soj.py/
RUN pip3 install urllib.request
CMD [ "python", “./soj.py” ]
I got this error:
manifest for rdempsey/python-scraper:latest not found
So I assumed I need to do this Docker pull command:
docker pull rdempsey/python-scraper
In order to access this public repository https://hub.docker.com/r/rdempsey/python-scraper/ to fix the error.
I then experienced this error when trying to do the pull:
FrankieMacBook-Pro-2candidacy-job-slurper$ docker pull rdempsey/python-scraper
Using default tag: latest
Error response from daemon: manifest for rdempsey/python-scraper:latest not found
Can someone direct me on what I'm doing wrong?
The problem is that the image you are trying to pull does not contain a latest tag, only a v2 tag.
Change the first line in your Dockerfile to FROM rdempsey/python-scraper:v2 and everything should work fine.
You are pulling with latest tag which is not present at DockerHub. Try:
docker pull rdempsey/python-scraper:v2
You can see the version at https://hub.docker.com/r/rdempsey/python-scraper/tags/
Use a explicit version number (in this case v2) instead of the latest tag.

Resources