wago / docker-ipk Goto Github PK
View Code? Open in Web Editor NEWThis repo contains static linked binaries of docker ce packed in linux ipk format.
License: Apache License 2.0
This repo contains static linked binaries of docker ce packed in linux ipk format.
License: Apache License 2.0
Hello,
New release for docker, nice.
Nothing about upgrade in the Read-me, so I search on the docker doc and nothing about loosing data.
I thought it was as easy as upgrading a container just use the ipk and everything goes nice and smooth, damned i was so wrong....
After the upgrade where are my containers ?
Everything is gone and there is no warning nowhere about loosing anything ...
In the opkg i saw this:
_DOCKER_ETC="/etc/docker/"
DOCKER_DATA="/home/docker/"
# clean up files that are generated by dockerd
if [ -z "$DESTDIR" ]; then
rm -rf "$DOCKER_ETC"
umount -fl "$DOCKER_DATA"
rm -rf "$DOCKER_DATA"
fi
exit 0_
Seriously ?
No warning about anything and the script delete all docker data.
Hello,
We tried to install the Docker on PFC200 G2.
Here is the log:
Feb 26 03:09:36 PFC200V3-4F5C9C activate_download [2155] [Error]: [by shell command] (/usr/bin/opkg install /var/downloads/update-script/docker_20.10.5_armhf.ipk)
Feb 26 03:10:52 PFC200V3-4F5C9C activate_download [2232] [Error]: [internal error] (path /var/downloads/update-script/ is empty)
It is a fresh V16 installation.
It seems, that the space on the internal flash is not enough:
df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 126.7M 109.9M 10.0M 92% /
devtmpfs 245.9M 4.0K 245.9M 0% /dev
none 246.4M 16.0K 246.4M 0% /tmp
none 246.4M 0 246.4M 0% /media
none 4.0M 172.0K 3.8M 4% /var/log
none 246.4M 148.0K 246.2M 0% /var/run
none 246.4M 0 246.4M 0% /var/lock
none 246.4M 0 246.4M 0% /var/tmp
none 246.4M 0 246.4M 0% /sys/fs/cgroup
tmpfs 246.4M 116.0K 246.3M 0% /run
/dev/mmcblk0p1 16.0M 2.7M 13.2M 17% /boot/loader
Thank you for your help and regards,
Lukas Gaam
I've expereincing problem with running latest HomeAssistant container without --privileged flag. Tho container output is:
Fatal Python error: init_interp_main: can't initialize time Python runtime state: core initialized PermissionError: [Errno 1] Operation not permitted
This problem also discussed here: https://community.home-assistant.io/t/migration-to-2021-7-fails-fatal-python-error-init-interp-main-cant-initialize-time/320648/11
It's not HomeAssistant specific problem, it's more latest python/docker interaction problem.
Solution is to add libseccomp2 library that is used by modern docker engine.
I have the same configuration, on a WAGO CC100 with firmware version 21 it works, on a WAGO CC100 with firmware version 23, all DNS request made from inside the container timeout. Even when deactivating the firewall completely, it does not work.
To reproduce, install docker on WAGO CC100 with firmware revision 23 and do the following commands in a SSH connection:
root@CC100-XXXXXX:~ docker run -it --rm alpine
/ # nslookup www.wago.com
;; connection timed out; no servers could be reached
/ # exit
root@CC100-XXXXXX:~ nslookup www.wago.com
Server: 213.221.143.240
Address: 213.221.143.240:53
Non-authoritative answer:
Name: www.wago.com
Address: 104.18.154.41
Name: www.wago.com
Address: 104.18.155.41
So DNS works natively, but not inside Docker containers.
Ports exposed by docker are accessible on the local network, but not via VPN. I suspect rather firewall rules, as I can see docker modifying iptables for port forwarding.
Hi, I installed docker.ipk and I added an image and everythings is working. But after reboot, daemon is not starting automatically. Can anyone please help me? I searched the web and all are talking about systemctl and systemd, but there is no systemd on my device.
Device TP600 (762-4102)
Firmware > 15
docker_20.10.5_armhf.ipk
Step to reproduce:
root@TP600-447D48:~docker run -it python:3.6 bash
root@6916a6997db1:/# python3
Fatal Python error: Py_Initialize: can't initialize time
PermissionError: [Errno 1] Operation not permitted
Current thread 0x76f39010 (most recent call first):
Aborted
The only workarounds i found was to launch with privileged, witch is not an optimal solution.
Hello,
How can I config for a proxy company use?
Best regard
After docker instalation on PFC200 through web-based management I connected to plc via ssh.
I am getting docker not found.
The repository tags PFC100 but does not list it as a supported hardware, can you say anything about that?
Hi !
Have some issues to install Docker !
I've already downloaded the IPK file, and uploaded on my PFC200, but after the Activation submit, there is a error (and that's ok as you said), but no docker command on my PFC.
I've checked to install it manually with the opkg command, but I guess my PFC can't install it cause my / partition is only 12M available.
So I checked mannually, but Docker ipk need need 115M !
But my / partition only got 82M as total size.. So how can we install it ?!
Then, i've tryied to install it on my SD card with the "-o" option on the opkg command.
But doesn't work, cause "Not selecting docker 18.09.0 due to incompatible architecture."
Dunno what to do now :/ !
Can you help me :( ?
Info :
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.