I tried following this document (https://iohk.zendesk.com/hc/en-us/articles/4415402727321-Running-a-local-version-of-Plutus-playground) to run plutus playground locally. Now I'm at the last step, but it kept showing me error messages as attched below. I tried GC_DONT_GC=1 npm start run and I'm also exec it in nix-shell. Can someone please help?
enter image description here
enter image description here
Related
I was trying to follow the instructions on hosting scopes (https://bit.dev/docs/scope/running-a-scope-server).
Commands entered:
docker run -it -p 4000:3000 bitcli/bit-server:latest
http://localhost:4000
bit remote add http://localhost:4000
I get the following error after the bit remote add command:
error: scope not found at /Users/tdugger/development/bit
There must be a step missing. The browser page shown does say the following, but I'm not sure what that means.
Set "defaultScope": "remote-scope" in workspace.jsonc
file and export components here.
Thanks for your help.
I am trying to run the postgres container and get error as bellow.
"Unable to find image 'name:latest' locally
docker: Error response from daemon: pull access denied for name, repository does not exist or may require 'docker login': denied: requested access to the resource is denied."
I have been working on the problem for a couple of days I do not know what the problem is.
This is of my command:
The issue is with your command:
docker run -- name
While --name should be with no any spaces, but you have space between -- and name.
Run your command again with the correct syntax.
To clarify more:
When you run docker run -- name, docker assumes that you are trying to pull and download an image called name, and since your name does not include any tags, so it says I cannot find any image called name:latest.
Just in case anyone gets this error for the same reason I did. I had built an image locally and Docker was complaining the image could not be found. It seems the error was happening because I built the image locally, but specified a different platform for docker run (I had copied the command from somewhere else). Example:
docker build -t my-image .
docker run ... --platform=linux/amd64 my-image
linux/amd64 is not my current platform. So I removed this argument and it worked.
Answer : You can't use that image because you didn't login to your Docker Hub Account
After creating an account find the image you want to use and then pull the image .
You can simply use docker pull [OPTIONS] NAME[:TAG|#DIGEST] for pulling an image from docker.hub and the using it as a container
According to the docker reference
Most of your images will be created on top of a base image from the Docker Hub registry.
Docker Hub contains many pre-built images that you can pull and try without needing to define and configure your own.
To download a particular image, or set of images (i.e., a repository), use docker pull.
P.S : Thank you for contributing in stackoverflow community, but for your next question please ensure that you are asking your question properly by reading
Code of Conduct
Before you pull the image from DockerHub, use docker login and then enter your username and password.
If you have not yet registered in DockerHub, register from the link below
here
then you can use this command for pull your images.
docker pull imageName
be notice that the image you want to receive must already be in DockerHub.
I am becoming increasingly frustrated with the quickstart guide to deploying gcloud using Docker :
https://cloud.google.com/cloud-build/docs/quickstart-build
I am following every step but cannot build using the command :
gcloud builds submit --tag gcr.io/strange-vortex-286312/quickstart-image
If I list my projects this is what I see :
The tutorial says that I then use the PROJECT_ID and put it in the command which I listed above :
OK, fine. So I do exactly as the tutorial says, and run this command >
gcloud builds submit --tag gcr.io/strange-vortex-286312/quickstart-image
but then I get this error :
FETCHSOURCE
Fetching storage object: gs://strange-vortex-286312_cloudbuild/source/1597335850.83144-c6bf33c39ca54474a15cf04835a07444.tgz#1597335851899497
Copying gs://strange-vortex-286312_cloudbuild/source/1597335850.83144-c6bf33c39ca54474a15cf04835a07444.tgz#1597335851899497...
/ [1 files][ 263.0 B/ 263.0 B]
Operation completed over 1 objects/263.0 B.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
***** NOTICE *****
Alternative official `docker` images, including multiple versions across
multiple platforms, are maintained by the Docker Team. For details, please
visit https://hub.docker.com/_/docker.
***** END OF NOTICE *****
unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /workspace/Dockerfile: no such file or directory
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
----------------------------------------------------------------------------------------------------------------------------------------
ERROR: (gcloud.builds.submit) build 9c7c268f-07f3-486e-842f-8c1a0e2877ae completed with status "FAILURE"
I am unsure what this error message is trying to tell me.
If I to my console then I see this error :
I am also unsure what this error is trying to tell me.
OK. In my case the Dockerfile was incorrectly named.
I had..
DockerFile
..and not
Dockerfile
The capital F was the problem. It took me for ever to figure this out because DockerFile works in normal Docker so I didnt think there was an issue with capitalization.
Was trying to launch the fnproject ui and check for the apps deployed. However in the browser it doesn't load the app and is stuck at loading....message. In the command line i see something like below. Any idea what maybe causing this.
command line logs are as below:
$ docker run --rm -it --link functions:api -p 4000:4000 --name fnui -e "API_URL=http://api:8080" fnproject/ui
Unable to find image 'fnproject/ui:latest' locally
latest: Pulling from fnproject/ui
e110a4a17941: Pull complete
3c5dcb228286: Pull complete
19c9e79b9f16: Pull complete
78d32a0bd7e8: Pull complete
a2337500ed47: Pull complete
12f394f0e817: Pull complete
64e0f96a7b8c: Pull complete
f977f532237b: Pull complete
Digest: sha256:6d82707c6462e99d46c33ab6f7a502548f802f2d8f0ed830f568e7eda4a64f81
Status: Downloaded newer image for fnproject/ui:latest
FunctionsUI#0.0.16 start /app
node server
Using API url: api:8080
Server running on port 4000
GET http://api:8080/v1/apps, params: {}
....
....
It looks as if there was a problem with version 16 of the UI image. Please pull down a new image using
docker pull fnproject/uiand try again.
If you're using the newer version should see the following at startup
> FunctionsUI#0.0.17 start /app
> node server
I'm following http://bradgessler.com/articles/docker-bundler. The first time around, it made "bundler fast again". I started getting issues with some missing linked files in the gems, so I blew away the docker images, and did a docker-compose build. After it built, I could no longer do docker-compose run web bundle -- I get this:
Creating network "myapp_default" with the default driver
Pulling bundle (myapp_web:latest)...
Pulling repository docker.io/library/myapp_web
ERROR: Error: image library/myapp_web:latest not found
How do I resolve this?
Following the same article, here are the steps that worked for me:
Run docker-compose build web
Find the name of your web image: run docker images. Mine was 'appcontainer_web'
Open docker-compose.yml and replace 'image: myapp_web' with 'image: [your_image_name]'
After the above change I still encountered an error: No closing quotation. The fix was to remove the quote from "I'm" in that same docker-compose.yml file "command: echo I'm a little..."