This article is a mirror article of machine translation, please click here to jump to the original article.

View: 300|Reply: 2

[linux] Ubuntu Redroid pull

[Copy link]
Posted on 2025-10-22 17:52:21 | | | |
docker pull  redroid/redroid

Prompt docker is not installed

Command 'docker' not found, but can be installed with:
sudo snap install docker         # version 28.4.0, or
sudo snap install docker         # version 28.1.1+1
sudo apt  install docker.io      # version 28.2.2-0ubuntu1~22.04.1
sudo apt  install podman-docker  # version 3.4.4+ds1-1ubuntu1.22.04.3
See 'snap info <snapname>' for additional versions.

sudo apt install docker.io
Successful installation:
docker pull  redroid/redroid
Pull redroid
Prompt No permissions

Using default tag: latest
permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.50/images/create?fromImage=docker. io%2Fredroid%2Fredroid&tag=latest": dial unix /var/run/docker.sock: connect: permission denied

sudo docker pull  redroid/redroid
Error prompt

Using default tag: latest
Error response from daemon: Get "https://registry-1.docker.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)


sudo systemctl daemon-reload
sudo systemctl restart docker
sudo docker pull  redroid/redroid

Run these three command prompts

Using default tag: latest
Error response from daemon: Get "https://registry-1.docker.io/v2/": context deadline exceeded (Client.Timeout exceeded while awaiting headers)

Run systemctl status docker
prompt

docker.service - Docker Application Container Engine
     Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
     Active: active (running) since Wed 2025-10-22 17:35:29 CST; 1min 0s ago
TriggeredBy: ● docker.socket
       Docs:https://docs.docker.com
   Main PID: 46122 (dockerd)
      Tasks: 9
     Memory: 21.2M
        CPU: 238ms
     CGroup: /system.slice/docker.service
             └─46122 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock

Change of source
sudo mkdir -p /etc/docker
sudo vim /etc/docker/daemon.json
sudo docker info
prompt

Client:
Version:    28.2.2
Context:    default
Debug Mode: false

Server:
Containers: 0
  Running: 0
  Paused: 0
  Stopped: 0
Images: 0
Server Version: 28.2.2
Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Using metacopy: false
  Native Overlay Diff: true
  userxattr: false
Logging Driver: json-file
Cgroup Driver: systemd
Cgroup Version: 2
Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
CDI spec directories:
  /etc/cdi
  /var/run/cdi
Swarm: inactive
Runtimes: io.containerd.runc.v2 runc
Default Runtime: runc
Init Binary: docker-init
containerd version:
runc version:
init version:
Security Options:
  apparmor
  seccomp
   Profile: builtin
  cgroupns
Kernel Version: 6.8.0-85-generic
Operating System: Ubuntu 22.04.5 LTS
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 15.57GiB
Name: sm-virtual-machine
ID: b107da6a-a4af-492e-91b0-0756134c393f
Docker Root Dir: /var/lib/docker
Debug Mode: true
  File Descriptors: 33
  Goroutines: 45
  System Time: 2025-10-22T17:40:47.973612294+08:00
  EventsListeners: 0
Experimental: false
Insecure Registries:
  docker.mirrors.ustc.edu.cn
  registry.docker-cn.com
  ::1/128
  127.0.0.0/8
Registry Mirrors:
  https://docker.registry.cyou/
  https://docker-cf.registry.cyou/
  https://dockercf.jsdelivr.fyi/
  https://docker.jsdelivr.fyi/
  https://dockertest.jsdelivr.fyi/
  https://mirror.aliyuncs.com/
  https://dockerproxy.com/
  https://mirror.baidubce.com/
  https://docker.m.daocloud.io/
  https://docker.nju.edu.cn/
  https://docker.mirrors.sjtug.sjtu.edu.cn/
  https://docker.mirrors.ustc.edu.cn/
  https://mirror.iscas.ac.cn/
  https://docker.rainbond.cc/
  https://do.nark.eu.org/
  https://dc.j8.work/
  https://gst6rzl9.mirror.aliyuncs.com/
  https://registry.docker-cn.com/
  http://hub-mirror.c.163.com/
  http://mirrors.ustc.edu.cn/
  https://mirrors.tuna.tsinghua.edu.cn/
  http://mirrors.sohu.com/
Live Restore Enabled: false

sudo docker pull  redroid/redroid

Using default tag: latest
latest: Pulling from redroid/redroid
34f5049f277a: Downloading [=========================>                         ]  485.3MB/954.5MB

The pull was successful





Previous:hook system calls file-hide getdents64
Next:VMware is unable to turn on CPU Performance Counter Virtualization
 Landlord| Posted on 2025-10-23 10:52:03 |
sudo apt install adb
sudo apt install scrcpy
docker run -itd --rm --privileged \
    --pull always \
    -v ~/data:/data \
    -p 5555:5555 \
    redroid/redroid:11.0.0-latest

adb connect 127.0.0.1:5555
adb devices
scrcpy


 Landlord| Posted on 2025-10-23 15:54:12 |
After the device restarts, run docker again -itd --rm --privileged \
    --pull always \
    -v ~/data:/data \
    -p 5555:5555 \
    redroid/redroid:11.0.0-latest
Prompt device offline
The correct thing to do is to run the command
sudo modprobe binder_linux devices="binder,hwbinder,vndbinder"
sudo modprobe ashmem_linux
Run on the next time
docker run -itd --rm --privileged \
    --pull always \
    -v ~/data:/data \
    -p 5555:5555 \
    redroid/redroid:11.0.0-latest
Running adb connect 127.0.0.1:5555
adb devices
scrcpy connection is successful
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com