Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
Host your own instance and avoid such problems, or at least be in a position to fix them yourself.

I've been working on the docker part, taking my lumps but not bringing it up, as it isn't perl proper. I had a setback with following outdated instructions on the first attempt. I found a nice fresh how-to-install-docker-on-linux, from 31 January 2023, and have made considerable progress, but I can't quite get to where I successfully pull files. Fuller story in readmores:

All these commands went off without complaint:

apt update apt-get remove docker docker-engine docker.io containerd runc apt-get update apt-get -y install ca-certificates curl gnupg lsb-release mkdir -p /etc/apt/keyrings curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --d +earmor -o /etc/apt/keyrings/docker.gpg echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrin +gs/docker.gpg] https://download.docker.com/linux/debian $(lsb_release + -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/n +ull apt-get update apt-get install -y docker-ce docker-ce-cli containerd.io docker-compos +e-plugin systemctl start docker systemctl enable docker

Output for root:

root@mypi:~# docker info Client: ... Server: Containers: 0 ... WARNING: No blkio throttle.write_iops_device support root@mypi:~#

Looks all good. But then as pi, I failed:

root@mypi:~# exit logout $ which docker /usr/bin/docker $ docker info Client: ... Server: ERROR: permission denied while trying to connect to the Docker daemon +socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdoc +ker.sock/v1.24/info": dial unix /var/run/docker.sock: connect: permis +sion denied errors pretty printing info $ whoami pi $

Then I thought, gosh, root can give pi permissions like this:

usermod -aG docker pi

, restart and see if I can pull some files:

$ docker info ... Server: Containers: 0 Running: 0 ... WARNING: No blkio throttle.write_iops_device support $ whoami pi $ docker run -t -i -v $(pwd)/data:/code/data openelevation/open-elevat +ion /code/create-tiles.sh /code/data/SRTM_NE_250m.tif 10 10 Unable to find image 'openelevation/open-elevation:latest' locally latest: Pulling from openelevation/open-elevation 345e3491a907: Pull complete ... 4f4fb700ef54: Pull complete Digest: sha256:82fb21612e86ba847c1f30b6c9a2f457a26a929841a5754282ee2c9 +fea018639 Status: Downloaded newer image for openelevation/open-elevation:latest WARNING: The requested image's platform (linux/amd64) does not match t +he detected host platform (linux/arm/v7) and no specific platform was + requested exec /code/create-tiles.sh: exec format error $

I didn't understand this ultimate command, and I don't find any evidence of

/code
on my machine.

Q1) Do I need to be worried about this mismatch?

WARNING: The requested image's platform (linux/amd64) does not match t +he detected host platform (linux/arm/v7) and no specific platform was + requested

I know I've downloaded 1.2 gigs of data, but I don't know where: (?)

$ df -h Filesystem Size Used Avail Use% Mounted on /dev/root 29G 9.8G 18G 36% / ... $ df -h Filesystem Size Used Avail Use% Mounted on /dev/root 29G 11G 18G 38% / ... $

Fishing for tips from more experienced parties,


In reply to Re^5: approximating geological problems with highway data by Aldebaran
in thread approximating geological problems with highway data by Aldebaran

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2023-11-30 14:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?