anyfed icon indicating copy to clipboard operation
anyfed copied to clipboard

What would be required to successfully install docker on Android (via Termux)?

Open dnk8n opened this issue 6 years ago • 19 comments

I didn't expect it to install successfully, but I was curious to see what 'yum install docker' resulted in.

Here is the output:

[root@anyfed home]$ yum install docker   
Last metadata expiration check: 0:30:56 ago on Wed Jun 13 12:24:33 2018.
Dependencies resolved.
==============================================================================================================================================================================================
 Package                                                         Arch                             Version                                              Repository                        Size
==============================================================================================================================================================================================
Installing:
 docker                                                          aarch64                          2:1.13.1-54.git6c336e4.fc27                          updates                           17 M
Installing dependencies:
 atomic-registries                                               aarch64                          1.22.1-1.fc27                                        updates                           39 k
 audit                                                           aarch64                          2.7.8-1.fc27                                         fedora                           250 k
 audit-libs-python3                                              aarch64                          2.7.8-1.fc27                                         fedora                            80 k
 checkpolicy                                                     aarch64                          2.7-2.fc27                                           updates                          327 k
 container-selinux                                               noarch                           2:2.61-1.git9b55129.fc27                             updates                           41 k
 container-storage-setup                                         noarch                           0.8.0-2.git1d27ecf.fc27                              updates                           36 k
 device-mapper-event                                             aarch64                          1.02.142-4.fc27                                      fedora                           250 k
 device-mapper-event-libs                                        aarch64                          1.02.142-4.fc27                                      fedora                           251 k
 device-mapper-persistent-data                                   aarch64                          0.7.5-1.fc27                                         updates                          406 k
 docker-common                                                   aarch64                          2:1.13.1-54.git6c336e4.fc27                          updates                           88 k
 docker-rhel-push-plugin                                         aarch64                          2:1.13.1-54.git6c336e4.fc27                          updates                          1.5 M
 gnupg                                                           aarch64                          1.4.22-3.fc27                                        fedora                           1.3 M
 iptables                                                        aarch64                          1.6.1-4.fc27                                         fedora                           493 k
 kmod                                                            aarch64                          25-1.fc27                                            updates                          114 k
 libaio                                                          aarch64                          0.3.110-9.fc27                                       fedora                            29 k
 libcgroup                                                       aarch64                          0.41-17.fc27                                         updates                           69 k
 libmnl                                                          aarch64                          1.0.4-4.fc27                                         fedora                            28 k
 libnet                                                          aarch64                          1.1.6-14.fc27                                        fedora                            68 k
 libnetfilter_conntrack                                          aarch64                          1.0.6-4.fc27                                         fedora                            60 k
 libnfnetlink                                                    aarch64                          1.0.1-11.fc27                                        fedora                            31 k
 libnl3                                                          aarch64                          3.4.0-1.fc27                                         updates                          297 k
 libselinux-python3                                              aarch64                          2.7-2.fc27                                           fedora                           245 k
 libselinux-utils                                                aarch64                          2.7-2.fc27                                           fedora                           164 k
 libsemanage-python3                                             aarch64                          2.7-1.fc27                                           fedora                           121 k
 libusb                                                          aarch64                          1:0.1.5-10.fc27                                      fedora                            40 k
 libyaml                                                         aarch64                          0.1.7-4.fc27                                         fedora                            57 k
 lvm2                                                            aarch64                          2.02.173-4.fc27                                      fedora                           1.3 M
 lvm2-libs                                                       aarch64                          2.02.173-4.fc27                                      fedora                           1.1 M
 oci-umount                                                      aarch64                          2:2.3.3-1.gite3c9055.fc27                            updates                           36 k
 parted                                                          aarch64                          3.2-28.fc27                                          fedora                           549 k
 policycoreutils                                                 aarch64                          2.7-1.fc27                                           fedora                           705 k
 policycoreutils-python-utils                                    aarch64                          2.7-1.fc27                                           fedora                           223 k
 policycoreutils-python3                                         aarch64                          2.7-1.fc27                                           fedora                           1.8 M
 protobuf-c                                                      aarch64                          1.2.1-7.fc27                                         fedora                            34 k
 python3-IPy                                                     noarch                           0.81-20.fc27                                         fedora                            42 k
 python3-PyYAML                                                  aarch64                          3.12-5.fc27                                          fedora                           167 k
 python3-pytoml                                                  noarch                           0.1.14-2.git7dea353.fc27                             fedora                            23 k
 selinux-policy                                                  noarch                           3.13.1-283.34.fc27                                   updates                          541 k
 selinux-policy-targeted                                         noarch                           3.13.1-283.34.fc27                                   updates                           10 M
 setools-python3                                                 aarch64                          4.1.1-3.fc27                                         fedora                           578 k
 skopeo-containers                                               aarch64                          0.1.29-1.git7add6fc.fc27                             updates                           18 k
 subscription-manager-rhsm-certificates                          aarch64                          1.21.2-3.fc27                                        updates                          205 k
 systemd-container                                               aarch64                          234-8.fc27                                           fedora                           405 k
 tcp_wrappers-libs                                               aarch64                          7.6-87.fc27                                          fedora                            72 k
 xfsprogs                                                        aarch64                          4.15.1-1.fc27                                        updates                          1.1 M
 xz                                                              aarch64                          5.2.3-4.fc27                                         fedora                           150 k
 yajl                                                            aarch64                          2.1.0-8.fc27                                         fedora                            38 k
Installing weak dependencies:
 criu                                                            aarch64                          3.8.1-1.fc27                                         updates                          452 k
 oci-register-machine                                            aarch64                          0-6.1.git66fa845.fc27                                updates                          986 k
 oci-systemd-hook                                                aarch64                          1:0.1.16-1.git05bd9a0.fc27                           updates                           37 k

Transaction Summary
==============================================================================================================================================================================================
Install  51 Packages

Total download size: 45 M
Installed size: 149 M
Is this ok [y/N]: y
Downloading Packages:
(1/51): atomic-registries-1.22.1-1.fc27.aarch64.rpm                                                                                                            80 kB/s |  39 kB     00:00    
(2/51): docker-common-1.13.1-54.git6c336e4.fc27.aarch64.rpm                                                                                                   153 kB/s |  88 kB     00:00    
(3/51): skopeo-containers-0.1.29-1.git7add6fc.fc27.aarch64.rpm                                                                                                128 kB/s |  18 kB     00:00    
(4/51): docker-rhel-push-plugin-1.13.1-54.git6c336e4.fc27.aarch64.rpm                                                                                         1.1 MB/s | 1.5 MB     00:01    
(5/51): gnupg-1.4.22-3.fc27.aarch64.rpm                                                                                                                       1.1 MB/s | 1.3 MB     00:01    
(6/51): xz-5.2.3-4.fc27.aarch64.rpm                                                                                                                           1.0 MB/s | 150 kB     00:00    
(7/51): python3-PyYAML-3.12-5.fc27.aarch64.rpm                                                                                                                806 kB/s | 167 kB     00:00    
(8/51): parted-3.2-28.fc27.aarch64.rpm                                                                                                                        1.1 MB/s | 549 kB     00:00    
(9/51): python3-pytoml-0.1.14-2.git7dea353.fc27.noarch.rpm                                                                                                    216 kB/s |  23 kB     00:00    
(10/51): libusb-0.1.5-10.fc27.aarch64.rpm                                                                                                                     317 kB/s |  40 kB     00:00    
(11/51): libyaml-0.1.7-4.fc27.aarch64.rpm                                                                                                                     387 kB/s |  57 kB     00:00    
(12/51): lvm2-libs-2.02.173-4.fc27.aarch64.rpm                                                                                                                1.7 MB/s | 1.1 MB     00:00    
(13/51): lvm2-2.02.173-4.fc27.aarch64.rpm                                                                                                                     1.7 MB/s | 1.3 MB     00:00    
(14/51): device-mapper-event-1.02.142-4.fc27.aarch64.rpm                                                                                                      880 kB/s | 250 kB     00:00    
(15/51): device-mapper-event-libs-1.02.142-4.fc27.aarch64.rpm                                                                                                 882 kB/s | 251 kB     00:00    
(16/51): libnetfilter_conntrack-1.0.6-4.fc27.aarch64.rpm                                                                                                      492 kB/s |  60 kB     00:00    
(17/51): libnfnetlink-1.0.1-11.fc27.aarch64.rpm                                                                                                               256 kB/s |  31 kB     00:00    
(18/51): iptables-1.6.1-4.fc27.aarch64.rpm                                                                                                                    1.3 MB/s | 493 kB     00:00    
(19/51): libmnl-1.0.4-4.fc27.aarch64.rpm                                                                                                                      152 kB/s |  28 kB     00:00    
(20/51): libaio-0.3.110-9.fc27.aarch64.rpm                                                                                                                    111 kB/s |  29 kB     00:00    
(21/51): device-mapper-persistent-data-0.7.5-1.fc27.aarch64.rpm                                                                                               1.1 MB/s | 406 kB     00:00    
(22/51): kmod-25-1.fc27.aarch64.rpm                                                                                                                           990 kB/s | 114 kB     00:00    
(23/51): container-selinux-2.61-1.git9b55129.fc27.noarch.rpm                                                                                                  290 kB/s |  41 kB     00:00    
(24/51): libselinux-utils-2.7-2.fc27.aarch64.rpm                                                                                                              994 kB/s | 164 kB     00:00    
(25/51): policycoreutils-python-utils-2.7-1.fc27.aarch64.rpm                                                                                                  657 kB/s | 223 kB     00:00    
(26/51): policycoreutils-2.7-1.fc27.aarch64.rpm                                                                                                               1.3 MB/s | 705 kB     00:00    
(27/51): audit-libs-python3-2.7.8-1.fc27.aarch64.rpm                                                                                                          750 kB/s |  80 kB     00:00    
(28/51): libselinux-python3-2.7-2.fc27.aarch64.rpm                                                                                                            1.0 MB/s | 245 kB     00:00    
(29/51): libsemanage-python3-2.7-1.fc27.aarch64.rpm                                                                                                           949 kB/s | 121 kB     00:00    
(30/51): python3-IPy-0.81-20.fc27.noarch.rpm                                                                                                                  362 kB/s |  42 kB     00:00    
(31/51): policycoreutils-python3-2.7-1.fc27.aarch64.rpm                                                                                                       1.6 MB/s | 1.8 MB     00:01    
(32/51): setools-python3-4.1.1-3.fc27.aarch64.rpm                                                                                                             1.3 MB/s | 578 kB     00:00    
(33/51): tcp_wrappers-libs-7.6-87.fc27.aarch64.rpm                                                                                                            581 kB/s |  72 kB     00:00    
(34/51): audit-2.7.8-1.fc27.aarch64.rpm                                                                                                                       1.1 MB/s | 250 kB     00:00    
(35/51): container-storage-setup-0.8.0-2.git1d27ecf.fc27.noarch.rpm                                                                                           346 kB/s |  36 kB     00:00    
(36/51): oci-umount-2.3.3-1.gite3c9055.fc27.aarch64.rpm                                                                                                       356 kB/s |  36 kB     00:00    
(37/51): yajl-2.1.0-8.fc27.aarch64.rpm                                                                                                                        343 kB/s |  38 kB     00:00    
(38/51): subscription-manager-rhsm-certificates-1.21.2-3.fc27.aarch64.rpm                                                                                     986 kB/s | 205 kB     00:00    
(39/51): selinux-policy-3.13.1-283.34.fc27.noarch.rpm                                                                                                         1.6 MB/s | 541 kB     00:00    
(40/51): xfsprogs-4.15.1-1.fc27.aarch64.rpm                                                                                                                   1.7 MB/s | 1.1 MB     00:00    
(41/51): checkpolicy-2.7-2.fc27.aarch64.rpm                                                                                                                   1.3 MB/s | 327 kB     00:00    
(42/51): libcgroup-0.41-17.fc27.aarch64.rpm                                                                                                                   514 kB/s |  69 kB     00:00    
(43/51): criu-3.8.1-1.fc27.aarch64.rpm                                                                                                                        1.4 MB/s | 452 kB     00:00    
(44/51): libnet-1.1.6-14.fc27.aarch64.rpm                                                                                                                     585 kB/s |  68 kB     00:00    
(45/51): protobuf-c-1.2.1-7.fc27.aarch64.rpm                                                                                                                  327 kB/s |  34 kB     00:00    
(46/51): oci-systemd-hook-0.1.16-1.git05bd9a0.fc27.aarch64.rpm                                                                                                323 kB/s |  37 kB     00:00    
(47/51): oci-register-machine-0-6.1.git66fa845.fc27.aarch64.rpm                                                                                               1.5 MB/s | 986 kB     00:00    
(48/51): systemd-container-234-8.fc27.aarch64.rpm                                                                                                             1.3 MB/s | 405 kB     00:00    
(49/51): libnl3-3.4.0-1.fc27.aarch64.rpm                                                                                                                      1.2 MB/s | 297 kB     00:00    
(50/51): docker-1.13.1-54.git6c336e4.fc27.aarch64.rpm                                                                                                         1.5 MB/s |  17 MB     00:11    
(51/51): selinux-policy-targeted-3.13.1-283.34.fc27.noarch.rpm                                                                                                2.0 MB/s |  10 MB     00:05    
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                         2.7 MB/s |  45 MB     00:16     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                      1/1 
  Installing       : device-mapper-event-libs-1.02.142-4.fc27.aarch64                                                                                                                    1/51 
  Running scriptlet: device-mapper-event-libs-1.02.142-4.fc27.aarch64                                                                                                                    1/51 
  Installing       : xfsprogs-4.15.1-1.fc27.aarch64                                                                                                                                      2/51 
  Running scriptlet: xfsprogs-4.15.1-1.fc27.aarch64                                                                                                                                      2/51 
  Installing       : yajl-2.1.0-8.fc27.aarch64                                                                                                                                           3/51 
  Running scriptlet: yajl-2.1.0-8.fc27.aarch64                                                                                                                                           3/51 
  Installing       : libselinux-python3-2.7-2.fc27.aarch64                                                                                                                               4/51 
Error unpacking rpm package libselinux-python3-2.7-2.fc27.aarch64
Error unpacking rpm package libselinux-python3-2.7-2.fc27.aarch64
error: unpacking of archive failed on file /usr/lib64/python3.6/site-packages/selinux/__pycache__/__init__.cpython-36.pyc;5b21185d: cpio: open
  Installing       : libselinux-utils-2.7-2.fc27.aarch64                                                                                                                                 5/51 
error: libselinux-python3-2.7-2.fc27.aarch64: install failed
  Installing       : policycoreutils-2.7-1.fc27.aarch64                                                                                                                                  6/51 
  Installing       : selinux-policy-3.13.1-283.34.fc27.noarch                                                                                                                            7/51 
  Running scriptlet: selinux-policy-3.13.1-283.34.fc27.noarch                                                                                                                            7/51 
  Installing       : libnfnetlink-1.0.1-11.fc27.aarch64                                                                                                                                  8/51 
  Running scriptlet: libnfnetlink-1.0.1-11.fc27.aarch64                                                                                                                                  8/51 
  Installing       : parted-3.2-28.fc27.aarch64                                                                                                                                          9/51 
  Running scriptlet: parted-3.2-28.fc27.aarch64                                                                                                                                          9/51 
  Running scriptlet: selinux-policy-targeted-3.13.1-283.34.fc27.noarch                                                                                                                  10/51 
  Installing       : selinux-policy-targeted-3.13.1-283.34.fc27.noarch                                                                                                                  10/51 
  Running scriptlet: selinux-policy-targeted-3.13.1-283.34.fc27.noarch                                                                                                                  10/51 
SELinux:  Could not load policy file /etc/selinux/targeted/policy/policy.31:  Permission denied
load_policy:  Can't load policy:  Permission denied
  Installing       : libsemanage-python3-2.7-1.fc27.aarch64                                                                                                                             11/51 
  Installing       : oci-umount-2:2.3.3-1.gite3c9055.fc27.aarch64                                                                                                                       12/51 
  Installing       : device-mapper-event-1.02.142-4.fc27.aarch64                                                                                                                        13/51 
  Running scriptlet: device-mapper-event-1.02.142-4.fc27.aarch64                                                                                                                        13/51 
Failed to connect to bus: No such file or directory
  Installing       : lvm2-libs-2.02.173-4.fc27.aarch64                                                                                                                                  14/51 
  Running scriptlet: lvm2-libs-2.02.173-4.fc27.aarch64                                                                                                                                  14/51 
  Installing       : libnl3-3.4.0-1.fc27.aarch64                                                                                                                                        15/51 
  Running scriptlet: libnl3-3.4.0-1.fc27.aarch64                                                                                                                                        15/51 
  Installing       : systemd-container-234-8.fc27.aarch64                                                                                                                               16/51 
  Installing       : protobuf-c-1.2.1-7.fc27.aarch64                                                                                                                                    17/51 
  Running scriptlet: protobuf-c-1.2.1-7.fc27.aarch64                                                                                                                                    17/51 
  Installing       : libnet-1.1.6-14.fc27.aarch64                                                                                                                                       18/51 
  Running scriptlet: libnet-1.1.6-14.fc27.aarch64                                                                                                                                       18/51 
  Running scriptlet: libcgroup-0.41-17.fc27.aarch64                                                                                                                                     19/51 
Cannot open audit interface - aborting.
error: %prein(libcgroup-0.41-17.fc27.aarch64) scriptlet failed, exit status 1
Error in PREIN scriptlet in rpm package libcgroup
Error in PREIN scriptlet in rpm package libcgroup
  Installing       : checkpolicy-2.7-2.fc27.aarch64                                                                                                                                     20/51 
error: libcgroup-0.41-17.fc27.aarch64: install failed
  Installing       : subscription-manager-rhsm-certificates-1.21.2-3.fc27.aarch64                                                                                                       21/51 
  Installing       : tcp_wrappers-libs-7.6-87.fc27.aarch64                                                                                                                              22/51 
  Running scriptlet: tcp_wrappers-libs-7.6-87.fc27.aarch64                                                                                                                              22/51 
  Installing       : audit-2.7.8-1.fc27.aarch64                                                                                                                                         23/51 
  Running scriptlet: audit-2.7.8-1.fc27.aarch64                                                                                                                                         23/51 
  Installing       : audit-libs-python3-2.7.8-1.fc27.aarch64                                                                                                                            24/51 
Error unpacking rpm package audit-libs-python3-2.7.8-1.fc27.aarch64
Error unpacking rpm package audit-libs-python3-2.7.8-1.fc27.aarch64
error: unpacking of archive failed on file /usr/lib64/python3.6/site-packages/__pycache__/audit.cpython-36.pyc;5b21185d: cpio: open
  Installing       : setools-python3-4.1.1-3.fc27.aarch64                                                                                                                               25/51 
Error unpacking rpm package setools-python3-4.1.1-3.fc27.aarch64
Error unpacking rpm package setools-python3-4.1.1-3.fc27.aarch64
error: audit-libs-python3-2.7.8-1.fc27.aarch64: install failed
error: unpacking of archive failed on file /usr/lib64/python3.6/site-packages/setools/__pycache__/__init__.cpython-36.pyc;5b21185d: cpio: open
  Installing       : python3-IPy-0.81-20.fc27.noarch                                                                                                                                    26/51 
error: setools-python3-4.1.1-3.fc27.aarch64: install failed
  Installing       : policycoreutils-python3-2.7-1.fc27.aarch64                                                                                                                         27/51 
  Installing       : policycoreutils-python-utils-2.7-1.fc27.aarch64                                                                                                                    28/51 
  Installing       : container-selinux-2:2.61-1.git9b55129.fc27.noarch                                                                                                                  29/51 
  Running scriptlet: container-selinux-2:2.61-1.git9b55129.fc27.noarch                                                                                                                  29/51 
Failed to change boolean virt_use_nfs: No such file or directory
SELinux:  Could not load policy file /etc/selinux/targeted/policy/policy.31:  Permission denied
/usr/sbin/load_policy:  Can't load policy:  Permission denied
  Installing       : kmod-25-1.fc27.aarch64                                                                                                                                             30/51 
  Installing       : libaio-0.3.110-9.fc27.aarch64                                                                                                                                      31/51 
  Running scriptlet: libaio-0.3.110-9.fc27.aarch64                                                                                                                                      31/51 
  Installing       : device-mapper-persistent-data-0.7.5-1.fc27.aarch64                                                                                                                 32/51 
  Installing       : lvm2-2.02.173-4.fc27.aarch64                                                                                                                                       33/51 
  Running scriptlet: lvm2-2.02.173-4.fc27.aarch64                                                                                                                                       33/51 
Failed to connect to bus: No such file or directory
Failed to connect to bus: No such file or directory
Failed to connect to bus: No such file or directory
warning: %post(lvm2-2.02.173-4.fc27.aarch64) scriptlet failed, exit status 1
Non-fatal POSTIN scriptlet failure in rpm package lvm2
Non-fatal POSTIN scriptlet failure in rpm package lvm2
  Installing       : container-storage-setup-0.8.0-2.git1d27ecf.fc27.noarch                                                                                                             34/51 
  Installing       : libmnl-1.0.4-4.fc27.aarch64                                                                                                                                        35/51 
  Running scriptlet: libmnl-1.0.4-4.fc27.aarch64                                                                                                                                        35/51 
  Installing       : libnetfilter_conntrack-1.0.6-4.fc27.aarch64                                                                                                                        36/51 
  Running scriptlet: libnetfilter_conntrack-1.0.6-4.fc27.aarch64                                                                                                                        36/51 
  Installing       : iptables-1.6.1-4.fc27.aarch64                                                                                                                                      37/51 
  Running scriptlet: iptables-1.6.1-4.fc27.aarch64                                                                                                                                      37/51 
  Installing       : libyaml-0.1.7-4.fc27.aarch64                                                                                                                                       38/51 
  Running scriptlet: libyaml-0.1.7-4.fc27.aarch64                                                                                                                                       38/51 
  Installing       : python3-PyYAML-3.12-5.fc27.aarch64                                                                                                                                 39/51 
  Installing       : libusb-1:0.1.5-10.fc27.aarch64                                                                                                                                     40/51 
  Running scriptlet: libusb-1:0.1.5-10.fc27.aarch64                                                                                                                                     40/51 
  Installing       : gnupg-1.4.22-3.fc27.aarch64                                                                                                                                        41/51 
  Running scriptlet: gnupg-1.4.22-3.fc27.aarch64                                                                                                                                        41/51 
  Installing       : python3-pytoml-0.1.14-2.git7dea353.fc27.noarch                                                                                                                     42/51 
  Installing       : atomic-registries-1.22.1-1.fc27.aarch64                                                                                                                            43/51 
Error unpacking rpm package atomic-registries-1.22.1-1.fc27.aarch64
Error unpacking rpm package atomic-registries-1.22.1-1.fc27.aarch64
error: unpacking of archive failed on file /usr/lib/python3.6/site-packages/registries/__pycache__/__init__.cpython-36.pyc;5b21185d: cpio: open
  Installing       : xz-5.2.3-4.fc27.aarch64                                                                                                                                            44/51 
error: atomic-registries-1.22.1-1.fc27.aarch64: install failed
  Installing       : skopeo-containers-0.1.29-1.git7add6fc.fc27.aarch64                                                                                                                 45/51 
  Installing       : docker-rhel-push-plugin-2:1.13.1-54.git6c336e4.fc27.aarch64                                                                                                        46/51 
  Running scriptlet: docker-rhel-push-plugin-2:1.13.1-54.git6c336e4.fc27.aarch64                                                                                                        46/51 
  Installing       : docker-common-2:1.13.1-54.git6c336e4.fc27.aarch64                                                                                                                  47/51 
  Installing       : docker-2:1.13.1-54.git6c336e4.fc27.aarch64                                                                                                                         48/51 
  Running scriptlet: docker-2:1.13.1-54.git6c336e4.fc27.aarch64                                                                                                                         48/51 
  Installing       : criu-3.8.1-1.fc27.aarch64                                                                                                                                          49/51 
  Running scriptlet: criu-3.8.1-1.fc27.aarch64                                                                                                                                          49/51 
  Installing       : oci-register-machine-0-6.1.git66fa845.fc27.aarch64                                                                                                                 50/51 
  Installing       : oci-systemd-hook-1:0.1.16-1.git05bd9a0.fc27.aarch64                                                                                                                51/51 
  Running scriptlet: docker-2:1.13.1-54.git6c336e4.fc27.aarch64                                                                                                                         51/51 
  Running scriptlet: oci-systemd-hook-1:0.1.16-1.git05bd9a0.fc27.aarch64                                                                                                                51/51 
Failed to connect to bus: No such file or directory
  Verifying        : docker-2:1.13.1-54.git6c336e4.fc27.aarch64                                                                                                                          1/51 
atomic-registries-1.22.1-1.fc27.aarch64 was supposed to be installed but is not!
  Verifying        : atomic-registries-1.22.1-1.fc27.aarch64                                                                                                                             2/51 
  Verifying        : docker-common-2:1.13.1-54.git6c336e4.fc27.aarch64                                                                                                                   3/51 
  Verifying        : docker-rhel-push-plugin-2:1.13.1-54.git6c336e4.fc27.aarch64                                                                                                         4/51 
  Verifying        : skopeo-containers-0.1.29-1.git7add6fc.fc27.aarch64                                                                                                                  5/51 
  Verifying        : gnupg-1.4.22-3.fc27.aarch64                                                                                                                                         6/51 
  Verifying        : parted-3.2-28.fc27.aarch64                                                                                                                                          7/51 
  Verifying        : xz-5.2.3-4.fc27.aarch64                                                                                                                                             8/51 
  Verifying        : python3-PyYAML-3.12-5.fc27.aarch64                                                                                                                                  9/51 
  Verifying        : python3-pytoml-0.1.14-2.git7dea353.fc27.noarch                                                                                                                     10/51 
  Verifying        : libusb-1:0.1.5-10.fc27.aarch64                                                                                                                                     11/51 
  Verifying        : libyaml-0.1.7-4.fc27.aarch64                                                                                                                                       12/51 
  Verifying        : lvm2-2.02.173-4.fc27.aarch64                                                                                                                                       13/51 
  Verifying        : lvm2-libs-2.02.173-4.fc27.aarch64                                                                                                                                  14/51 
  Verifying        : device-mapper-event-1.02.142-4.fc27.aarch64                                                                                                                        15/51 
  Verifying        : device-mapper-event-libs-1.02.142-4.fc27.aarch64                                                                                                                   16/51 
  Verifying        : iptables-1.6.1-4.fc27.aarch64                                                                                                                                      17/51 
  Verifying        : libnetfilter_conntrack-1.0.6-4.fc27.aarch64                                                                                                                        18/51 
  Verifying        : libnfnetlink-1.0.1-11.fc27.aarch64                                                                                                                                 19/51 
  Verifying        : libmnl-1.0.4-4.fc27.aarch64                                                                                                                                        20/51 
  Verifying        : device-mapper-persistent-data-0.7.5-1.fc27.aarch64                                                                                                                 21/51 
  Verifying        : libaio-0.3.110-9.fc27.aarch64                                                                                                                                      22/51 
  Verifying        : kmod-25-1.fc27.aarch64                                                                                                                                             23/51 
  Verifying        : container-selinux-2:2.61-1.git9b55129.fc27.noarch                                                                                                                  24/51 
  Verifying        : libselinux-utils-2.7-2.fc27.aarch64                                                                                                                                25/51 
  Verifying        : policycoreutils-2.7-1.fc27.aarch64                                                                                                                                 26/51 
  Verifying        : policycoreutils-python-utils-2.7-1.fc27.aarch64                                                                                                                    27/51 
  Verifying        : policycoreutils-python3-2.7-1.fc27.aarch64                                                                                                                         28/51 
audit-libs-python3-2.7.8-1.fc27.aarch64 was supposed to be installed but is not!
  Verifying        : audit-libs-python3-2.7.8-1.fc27.aarch64                                                                                                                            29/51 
libselinux-python3-2.7-2.fc27.aarch64 was supposed to be installed but is not!
  Verifying        : libselinux-python3-2.7-2.fc27.aarch64                                                                                                                              30/51 
  Verifying        : libsemanage-python3-2.7-1.fc27.aarch64                                                                                                                             31/51 
  Verifying        : python3-IPy-0.81-20.fc27.noarch                                                                                                                                    32/51 
setools-python3-4.1.1-3.fc27.aarch64 was supposed to be installed but is not!
  Verifying        : setools-python3-4.1.1-3.fc27.aarch64                                                                                                                               33/51 
  Verifying        : audit-2.7.8-1.fc27.aarch64                                                                                                                                         34/51 
  Verifying        : tcp_wrappers-libs-7.6-87.fc27.aarch64                                                                                                                              35/51 
  Verifying        : container-storage-setup-0.8.0-2.git1d27ecf.fc27.noarch                                                                                                             36/51 
  Verifying        : oci-umount-2:2.3.3-1.gite3c9055.fc27.aarch64                                                                                                                       37/51 
  Verifying        : yajl-2.1.0-8.fc27.aarch64                                                                                                                                          38/51 
  Verifying        : subscription-manager-rhsm-certificates-1.21.2-3.fc27.aarch64                                                                                                       39/51 
  Verifying        : xfsprogs-4.15.1-1.fc27.aarch64                                                                                                                                     40/51 
  Verifying        : selinux-policy-3.13.1-283.34.fc27.noarch                                                                                                                           41/51 
  Verifying        : selinux-policy-targeted-3.13.1-283.34.fc27.noarch                                                                                                                  42/51 
  Verifying        : checkpolicy-2.7-2.fc27.aarch64                                                                                                                                     43/51 
libcgroup-0.41-17.fc27.aarch64 was supposed to be installed but is not!
  Verifying        : libcgroup-0.41-17.fc27.aarch64                                                                                                                                     44/51 
  Verifying        : criu-3.8.1-1.fc27.aarch64                                                                                                                                          45/51 
  Verifying        : libnet-1.1.6-14.fc27.aarch64                                                                                                                                       46/51 
  Verifying        : protobuf-c-1.2.1-7.fc27.aarch64                                                                                                                                    47/51 
  Verifying        : oci-systemd-hook-1:0.1.16-1.git05bd9a0.fc27.aarch64                                                                                                                48/51 
  Verifying        : oci-register-machine-0-6.1.git66fa845.fc27.aarch64                                                                                                                 49/51 
  Verifying        : systemd-container-234-8.fc27.aarch64                                                                                                                               50/51 
  Verifying        : libnl3-3.4.0-1.fc27.aarch64                                                                                                                                        51/51 

Installed:
  docker.aarch64 2:1.13.1-54.git6c336e4.fc27                       criu.aarch64 3.8.1-1.fc27                                         oci-register-machine.aarch64 0-6.1.git66fa845.fc27     
  oci-systemd-hook.aarch64 1:0.1.16-1.git05bd9a0.fc27              audit.aarch64 2.7.8-1.fc27                                        checkpolicy.aarch64 2.7-2.fc27                         
  container-selinux.noarch 2:2.61-1.git9b55129.fc27                container-storage-setup.noarch 0.8.0-2.git1d27ecf.fc27            device-mapper-event.aarch64 1.02.142-4.fc27            
  device-mapper-event-libs.aarch64 1.02.142-4.fc27                 device-mapper-persistent-data.aarch64 0.7.5-1.fc27                docker-common.aarch64 2:1.13.1-54.git6c336e4.fc27      
  docker-rhel-push-plugin.aarch64 2:1.13.1-54.git6c336e4.fc27      gnupg.aarch64 1.4.22-3.fc27                                       iptables.aarch64 1.6.1-4.fc27                          
  kmod.aarch64 25-1.fc27                                           libaio.aarch64 0.3.110-9.fc27                                     libmnl.aarch64 1.0.4-4.fc27                            
  libnet.aarch64 1.1.6-14.fc27                                     libnetfilter_conntrack.aarch64 1.0.6-4.fc27                       libnfnetlink.aarch64 1.0.1-11.fc27                     
  libnl3.aarch64 3.4.0-1.fc27                                      libselinux-utils.aarch64 2.7-2.fc27                               libsemanage-python3.aarch64 2.7-1.fc27                 
  libusb.aarch64 1:0.1.5-10.fc27                                   libyaml.aarch64 0.1.7-4.fc27                                      lvm2.aarch64 2.02.173-4.fc27                           
  lvm2-libs.aarch64 2.02.173-4.fc27                                oci-umount.aarch64 2:2.3.3-1.gite3c9055.fc27                      parted.aarch64 3.2-28.fc27                             
  policycoreutils.aarch64 2.7-1.fc27                               policycoreutils-python-utils.aarch64 2.7-1.fc27                   policycoreutils-python3.aarch64 2.7-1.fc27             
  protobuf-c.aarch64 1.2.1-7.fc27                                  python3-IPy.noarch 0.81-20.fc27                                   python3-PyYAML.aarch64 3.12-5.fc27                     
  python3-pytoml.noarch 0.1.14-2.git7dea353.fc27                   selinux-policy.noarch 3.13.1-283.34.fc27                          selinux-policy-targeted.noarch 3.13.1-283.34.fc27      
  skopeo-containers.aarch64 0.1.29-1.git7add6fc.fc27               subscription-manager-rhsm-certificates.aarch64 1.21.2-3.fc27      systemd-container.aarch64 234-8.fc27                   
  tcp_wrappers-libs.aarch64 7.6-87.fc27                            xfsprogs.aarch64 4.15.1-1.fc27                                    xz.aarch64 5.2.3-4.fc27                                
  yajl.aarch64 2.1.0-8.fc27                                       

Failed:
  atomic-registries.aarch64 1.22.1-1.fc27 audit-libs-python3.aarch64 2.7.8-1.fc27 libcgroup.aarch64 0.41-17.fc27 libselinux-python3.aarch64 2.7-2.fc27 setools-python3.aarch64 4.1.1-3.fc27

Error: Transaction failed

I am curious as to what might be missing. I imagine it is a massive task to support Docker. Any insight would be very much appreciated.

dnk8n avatar Jun 13 '18 14:06 dnk8n

Any additional info I can provide?

Mobile Type: Xiaomi Redmi 4X

[root@anyfed home]$ uname -a
Linux localhost 3.18.31-perf-gf032b97 #1 SMP PREEMPT Thu Apr 5 20:41:56 WIB 2018 aarch64 aarch64 aarch64 GNU/Linux

dnk8n avatar Jun 13 '18 14:06 dnk8n

very interested too...would love to get docker installed on android!

hortinstein avatar Jun 15 '18 20:06 hortinstein

I've successfully installed docker 1.13 but just trying to get it to connect to the daemon (if possible) will report back.

setup:

One Plus 6 (Snapdragon 845 has built in hardware virtualization) Lineage OS 16 Latest Termux Fedora 29 ARM64

edit I can't get docker daemon running, nor udocker. No luck so far but going to test a nanopi over USBOTG running dockerd server and run the client from Android instead.

davemackintosh avatar Oct 18 '18 19:10 davemackintosh

Chipping in to put additional verification. Similar case with davemackintosh, I managed to run docker client in Redmi 5 (non-root) but can't get docker engine to run. No issue connecting to remote docker.

Guess this is the furthest we can go with docker in android ¯\_(ツ)_/¯

img_20190114_202806

wzulfikar avatar Jan 14 '19 12:01 wzulfikar

One path forward is described here:

https://github.com/otsuarez/chromeos-qemu-docker

satmandu avatar Mar 03 '19 20:03 satmandu

@satmandu have you tested this?

davemackintosh avatar Mar 03 '19 20:03 davemackintosh

@davemackintosh I have been able to get alpine linux installed using that method on ChromeOS. Note that this is running it through qemu though.

satmandu avatar Mar 03 '19 22:03 satmandu

@satmandu and docker running? On an Android device?

davemackintosh avatar Mar 03 '19 23:03 davemackintosh

I had to modify the instructions slightly, but I do have docker running on android inside ChromeOS.

satmandu avatar Mar 04 '19 01:03 satmandu

I don't own a ChromeOS device but I think it works because they probably have the required kernel modules compiled into them whereas most (all?) Android phones and tablets do not. All modern processors support virtualization but vendors don't bake the required modules into the kernels and AFAIK no one has patched it right yet.

Best bet for us is an OTG powered Nano or similar and to network to it. 👎

On Mon, 4 Mar 2019, 01:01 satmandu, [email protected] wrote:

I had to modify the instructions slightly, but I do have docker running on android inside ChromeOS.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nmilosev/anyfed/issues/7#issuecomment-469085705, or mute the thread https://github.com/notifications/unsubscribe-auth/ABXUge0oypyW5vhKGUTVjoSBJ4-XHmExks5vTHBQgaJpZM4UmRhu .

davemackintosh avatar Mar 04 '19 08:03 davemackintosh

Note that there (I think) no virtualization kernel modules being used here. (That would really speed it up.) This is entirely through using qemu in user mode to run a virtual machine within which has docker running.

Not the ideal setup in any case!

satmandu avatar Mar 04 '19 14:03 satmandu

I'm willing to try this (but I really think it won't work hahaha):

https://medium.com/@abiosoft/docker-on-chromebook-b9679e491c06

sidneijp avatar Jul 11 '19 18:07 sidneijp

I hate to Necro an old Post but I am trying to do this. DockerD needs /proc mounted to run. Is there a way to do this on a Linux VM running within Android? DockerD is installed I just can't seem to mount proc. Probably a sandbox limitation... Anyone know how to get around this?

rg-viza avatar Jul 16 '19 01:07 rg-viza

It works perfectly via qemu and alpine inside it . But quite slow on op5 and also take alote of battery powered. There is no way in termux nor even with chroot to other Linux untill now

usmanranatig avatar Sep 16 '19 07:09 usmanranatig

Linux kernel is missing most of namespaces and cgroups support in its standard configuration. It should be possible to use Docker on a custom kernel with all needed features enabled.

ValdikSS avatar Sep 19 '19 00:09 ValdikSS

Maybe one could have better luck with rootless Docker? See https://medium.com/@tonistiigi/experimenting-with-rootless-docker-416c9ad8c0d6

On Thu, Sep 19, 2019 at 2:00 AM ValdikSS [email protected] wrote:

Linux kernel is missing most of namespaces and cgroups support in its standard configuration. It should be possible to use Docker on a custom kernel with all needed features enabled.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/nmilosev/anyfed/issues/7?email_source=notifications&email_token=AAZHR2NGEC24GUTEADA2PSDQKK6IXA5CNFSM4FEZDBXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7BZHQQ#issuecomment-532911042, or mute the thread https://github.com/notifications/unsubscribe-auth/AAZHR2LLLI7EZX67H6ALONLQKK6IXANCNFSM4FEZDBXA .

dnk8n avatar Sep 19 '19 10:09 dnk8n

No you can't. You can't get missing kernel features, and rootlesskit uses them.

ValdikSS avatar Sep 19 '19 10:09 ValdikSS

I assume you are speaking about overlay filesystem kernel support. Check xda forum... there are plenty of custom kernels there.

dpjrodrigues avatar Feb 09 '20 14:02 dpjrodrigues

@dnk8n there is an alternative to docker that runs in Termux PRoot. It is called udocker: https://www.google.com/search?q=TermuxArch+udocker

SDRausty avatar Jul 20 '20 11:07 SDRausty