Comments (5)
Nothing about ynam precludes it from working on arm, although I've never tried it. If you want a quick fix, downloading the source and running docker build snowskeleton/ynam <ynam_source_directory>
should work. Long term, I’ll look into incorporating an arm version into my release process.
I'm not specifically familiar with that container service. My setup is an Ubuntu server running on x86 hardware. I have a cron job scheduled every 10 minutes. I just rewrote the Docker part of the README
the other day, so that should have up to date info on what command to run. If part of my instructions don't make sense, please ask. I want them to be as thorough as possible.
from ynam.
So after running the docker build command "sudo docker build snowskeleton/ynam /home/ynam", it gave:
"docker build" requires exactly 1 argument.
See 'docker build --help'.
I then ran sudo docker build snowskeleton/ynam /home/ynam, and it gave:
Sending build context to Docker daemon 325.1kB
Step 1/8 : FROM selenium/standalone-chrome as b1
---> 2324e0524f83
Step 2/8 : ENV PATH=$HOME/.local/bin:$PATH
---> Using cache
---> 340c29c9232c
Step 3/8 : RUN sudo su
---> [Warning] The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
---> Running in 2a570a97feea
exec /bin/sh: exec format error
The command '/bin/sh -c sudo su' returned a non-zero code: 1
What dumb mistake am I making?
I get the following error when trying to run the image installed through instructions in the ReadMe:
exec /usr/bin/sudo: exec format error
After doing a quick search, some people on a form said this could be do to having differing architectures. That's why I was pursuing trying to get an arm version. Do you have any thoughts?
Thanks!
from ynam.
To answer your first question, I mistyped the command I gave you. The tag has to be prepended with a -t
flag like so
docker build -t snowskeleton/ynam <ynam_source_directory>
But! That shouldn't be necessary, as I got the docker hub version to support both arm64 and amd64. You should be able to pull a fresh image from snowskeleton/ynam:latest
and it'll work. Lemme know if it doesn't.
from ynam.
Ah gotcha! I kind of assumed maybe something wasn't quite right.
Thanks so much for doing that!! I got the new version and after inspecting the image I see arm 64!
Sadly I'm still having the same issue. I keep getting exec /usr/bin/sudo: exec format error. Do you have any other ideas.
I've done fixes like adding docker to sudo and several other random things, but still getting the same error. Planning on playing around with the Dockerfile a little to see if I can fix the issue. Here's a thread I've been looking at https://stackoverflow.com/questions/25845538/how-to-use-sudo-inside-a-docker-container. I'm thinking my system doesn't like something about the sudo su. Before now I've really had no experience with docker or linux for that matter. It's been good! Definitely will need it at some point in software development.
Thanks! I owe you a coffee or something!
from ynam.
My instinct says the sudo
error is a red herring. Usually this type of low level, opaque system failure is because docker isn't installed correctly, for some definition of "correctly." The first thing I check in these cases is that the docker
group exists and that your user is a part of it (and that you've restarted your shell since making/joining said group). You can also try running some other images to see if they work. docker run hello-world
is an easy test, so is docker run ubuntu
. They might give you different, more insightful errors.
from ynam.
Related Issues (20)
- json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) -- On first execution HOT 13
- Cannot import RESTClient HOT 6
- Budget selection showing incorrect accounts HOT 1
- Inconsistentcy with automation HOT 1
- Issue with ynam quick start HOT 5
- Fresh install of YNAM cannot import RESTClient HOT 2
- Docker quickstart works, importing of transactions errors out HOT 13
- Exits on run in docker HOT 10
- Similar / Some transactions not importing HOT 2
- TypeError: MintTransaction.__init__() missing 1 required positional argument: 'id' HOT 7
- Error when running ynam --quickstart HOT 4
- ynam all of a sudden not working HOT 3
- Thank you
- Stuck on Mint authentication HOT 2
- ynam - version of chrome newer HOT 5
- Crash during ynam --quickstart HOT 2
- KeyError: 'fiData' HOT 2
- Mint is being killed HOT 3
- YNAB Now Supports Apple Card HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ynam.