Giter Site home page Giter Site logo

Can't run or start about docker-eyeos HOT 6 OPEN

sickcodes avatar sickcodes commented on May 2, 2024
Can't run or start

from docker-eyeos.

Comments (6)

sickcodes avatar sickcodes commented on May 2, 2024

Hey @The-SamminAter,

In the command -v "$PWD:/home/webserver/Downloads/images" means you are going to pass your current directory into the docker container.

This means hfs.main and hfs.sec must be in the directory that you run the docker command from.

from docker-eyeos.

sickcodes avatar sickcodes commented on May 2, 2024

If you run this code, in one block, you won't have trouble. You need 30GB of space to run this:

mkdir -p images
cd images

wget https://images.sick.codes/hfs.sec.zst
wget https://images.sick.codes/hfs.main.zst

# decompress images, uses about 15GB
zstd -d hfs.main.zst
zstd -d hfs.sec.zst

docker pull sickcodes/docker-eyeos:latest

docker run -it --privileged \
    --device /dev/kvm \
    -e RAM=6 \
    -e HFS_MAIN=./images/hfs.main \
    -e HFS_SEC=./images/hfs.sec \
    -p 2222:2222 \
    -v "$PWD:/home/arch/docker-eyeos/images" \
    -e "DISPLAY=${DISPLAY:-:0.0}" \
    -v /tmp/.X11-unix:/tmp/.X11-unix \
    sickcodes/docker-eyeos:latest

from docker-eyeos.

The-SamminAter avatar The-SamminAter commented on May 2, 2024

Hey @The-SamminAter,

In the command -v "$PWD:/home/webserver/Downloads/images" means you are going to pass your current directory into the docker container.

This means hfs.main and hfs.sec must be in the directory that you run the docker command from.

Those folders are in /home/webserver/Downloads/images though, and I did run the command from that directory.

from docker-eyeos.

The-SamminAter avatar The-SamminAter commented on May 2, 2024

If you run this code, in one block, you won't have trouble. You need 30GB of space to run this:

mkdir -p images

cd images



wget https://images.sick.codes/hfs.sec.zst

wget https://images.sick.codes/hfs.main.zst



# decompress images, uses about 15GB

zstd -d hfs.main.zst

zstd -d hfs.sec.zst



docker pull sickcodes/docker-eyeos:latest



docker run -it --privileged \

    --device /dev/kvm \

    -e RAM=6 \

    -e HFS_MAIN=./images/hfs.main \

    -e HFS_SEC=./images/hfs.sec \

    -p 2222:2222 \

    -v "$PWD:/home/arch/docker-eyeos/images" \

    -e "DISPLAY=${DISPLAY:-:0.0}" \

    -v /tmp/.X11-unix:/tmp/.X11-unix \

    sickcodes/docker-eyeos:latest

That is what I did, except I changed the directories to match those on my computer.

from docker-eyeos.

imrebuild avatar imrebuild commented on May 2, 2024

You should use ./images/hfs.main and ./images/hfs.sec as the WORKDIR is /home/arch/docker-eyeos. The place you run docker command doesn't matter.

WORKDIR /home/arch/docker-eyeos

from docker-eyeos.

sickcodes avatar sickcodes commented on May 2, 2024

You should use ./images/hfs.main and ./images/hfs.sec as the WORKDIR is /home/arch/docker-eyeos. The place you run docker command doesn't matter.

WORKDIR /home/arch/docker-eyeos

Yeah this is correct, sorry been a few weeks since I used it.

from docker-eyeos.

Related Issues (17)

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.