GithubHelp home page GithubHelp logo

docker 400 error about toaruos HOT 13 CLOSED

cbrown7752 avatar cbrown7752 commented on June 15, 2024
docker 400 error

from toaruos.

Comments (13)

klange avatar klange commented on June 15, 2024

It sounds like you ran docker from the wrong directory.

from toaruos.

cbrown7752 avatar cbrown7752 commented on June 15, 2024

I rent it from both the main directory and the utils docker directory. Both pull the same error

from toaruos.

klange avatar klange commented on June 15, 2024

What is the complete command you are running?

from toaruos.

cbrown7752 avatar cbrown7752 commented on June 15, 2024

docker run -v pwd:/root/misaka -w /root/misaka -e LANG=C.UTF-8 -t toaruos/build-tools:1.99.x util/build-in-docker.sh

from toaruos.

klange avatar klange commented on June 15, 2024

If that is the command you are running, you have a critical typo. The backticks around pwd are important.

docker run -v `pwd`:/root/misaka -w /root/misaka -e LANG=C.UTF-8 -t toaruos/build-tools:1.99.x util/build-in-docker.sh

from toaruos.

cbrown7752 avatar cbrown7752 commented on June 15, 2024

It has said that those weren't a part of the docker system which is why I had taken them out

from toaruos.

klange avatar klange commented on June 15, 2024

That's a simple Unix shell command, the backticks have nothing to do with Docker. You need to start Docker with a bind mount of the repository or none of this will work.

from toaruos.

cbrown7752 avatar cbrown7752 commented on June 15, 2024

i still get this docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "util/build-in-docker.sh": stat util/build-in-docker.sh: no such file or directory: unknown.

from toaruos.

klange avatar klange commented on June 15, 2024

What are you running this under?

I am not in the business of providing support for Docker. If you can not get the container to work locally, fork the repository and Github CI will do it for you and provide you with the resulting ISO as a build artifact.

from toaruos.

cbrown7752 avatar cbrown7752 commented on June 15, 2024

Being ran in the main directory

from toaruos.

klange avatar klange commented on June 15, 2024

I mean what environment are you running this? I'm wondering if you're using a Windows host - neither cmd.exe nor PowerShell support backticks the way a Unix shell would, so they would not be binding the right directory.

from toaruos.

cbrown7752 avatar cbrown7752 commented on June 15, 2024

That's what I was using when I originally started and the one I prefer to use but have since moved to a Linux laptop

from toaruos.

klange avatar klange commented on June 15, 2024

The full Docker commands from the README should work on Linux if you have Docker set up - this is what the Github CI runs with every commit. I'll repeat my suggestion that if you want to try building from source you can fork the repo and have Github do it for you.

If you want try again from Windows, I looked into this for someone in a previous issue report and you may be able to replace the -v ... option with -v "/${PWD}:/root/misaka" and get it working in PowerShell.

from toaruos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.