Code Monkey home page Code Monkey logo

Comments (5)

thaJeztah avatar thaJeztah commented on September 21, 2024

install docker and docker compose

How are you installing docker? What packages are you installing from?

Looks like the daemon is running (otherwise those curl requests wouldn't return anything). Do you have the right architecture installed for the CLI binaries?

from cli.

Dialgatrainer02 avatar Dialgatrainer02 commented on September 21, 2024

im using "apk add docker docker-cli-compose "

shouldn't apk automatically resolve the arch and install the correct one

its an x86_64 machine with intel cpu

from cli.

thaJeztah avatar thaJeztah commented on September 21, 2024

If should, yes. Those packages are not built by us though, but by the Alpine distro maintainers/packagers, so it's possible something's broken with their packages.

You can try if the static packages from download.docker.com work; https://docs.docker.com/engine/install/binaries/

Those currently don't have buildx and compose (some updates are needed to our release pipeline), but you can download those from github if needed (https://github.com/docker/compose and https://github.com/docker/buildx)

from cli.

Dialgatrainer02 avatar Dialgatrainer02 commented on September 21, 2024

docker cli runs but dockerd doesnt due to cgroup mounts even after running the cgroups script here https://github.com/tianon/cgroupfs-mount/blob/master/cgroupfs-mount without errors

dockerd:

doas  dockerd 
INFO[0000] libcontainerd: new containerd process, pid: 2627 
WARN[0000] containerd: low RLIMIT_NOFILE changing to max  current=1024 max=4096
INFO[0001] [graphdriver] using prior storage driver: overlay2 
INFO[0001] Graph migration to content-addressability took 0.00 seconds 
WARN[0001] Your kernel does not support cgroup memory limit 
WARN[0001] Unable to find cpu cgroup in mounts          
WARN[0001] Unable to find blkio cgroup in mounts        
WARN[0001] Unable to find cpuset cgroup in mounts       
WARN[0001] mountpoint for pids not found                
Error starting daemon: Devices cgroup isn't mounted

docker cli:

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

from cli.

Dialgatrainer02 avatar Dialgatrainer02 commented on September 21, 2024

re ran the cgroups script again and installed iptables now dockerd is working

from cli.

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.