This how-to is a step-by-step guide to create a simple docker container which can run on IOx on IE3400.
Unlike Catalyst 9300, which has a x86 (more specifically: x86-64) compatible CPU, IE3400 runs IOx apps on an ARM Cortex-A53 CPU. Therefor, any docker containers which are supposed to run on IE3400 need to have all binaries compiled for the aarch64 architecture.
One easy way to create such docker containers on a x86 Workstation/Server is to use qemu for CPU emulation.
Ubuntu 19.10 (but 18.04 or more recent versions should also work)
thulsdau@ubuntu1:~$ docker run --rm aarch64/alpine uname -m Unable to find image 'aarch64/alpine:latest' locally latest: Pulling from aarch64/alpine e92c575fea6b: Pull complete Digest: sha256:fea6984b3a5b422c41f20a95ff290e77405dd3cb4ff163dd3ad64572e41de0cf Status: Downloaded newer image for aarch64/alpine:latest aarch64 $
2. Create Dockerfile
Setup a new empty directory and create a file called "Dockerfile" with contents as shown below:
thulsdau@ubuntu1:~$ mkdir iperf3_dockerimage thulsdau@ubuntu1:~$ cd iperf3_dockerimage/ thulsdau@ubuntu1:~/iperf3_dockerimage$ cat <<EOF >Dockerfile > FROM aarch64/alpine:latest > RUN apk add --update --no-cache ca-certificates iperf3 tcpdump > EXPOSE 5201/tcp > USER root > CMD iperf3 -s > EOF thulsdau@ubuntu1:~/iperf3_dockerimage$ cat Dockerfile FROM aarch64/alpine:latest RUN apk add --update --no-cache ca-certificates iperf3 tcpdump EXPOSE 5201/tcp USER root CMD iperf3 -s thulsdau@ubuntu1:~/iperf3_dockerimage$
In this example we are basing the container on Alpine Linux, because of its small size. We are installing iperf3 and tcpdump as additional applications. And because a container needs a long-running process to stay alive, we have it execute the command "iperf3 -s" by default.
Hello Community,I am currently trying to lab "Deploy a Docker Application to Cisco Fog Director and IOx (15 min)". When i got to Step 6 (available on this link https://developer.cisco.com/learning/lab/iot-iox-fd-deploy/step/6 ) out of 9 steps, i received ...
I'm having an issue connecting a allenbradley controllogix plc to a IE3300 using CIP & EDS file provide on-board the device.I'm able to communicate with the device fine with RSlinx but no matter my connection type in the controllogix I'm unable to get...
Hi,After an SD Card was created with PL-App Launcher on PC, I was trying to start up the OS on Raspberry Pi 3B. I got the error "End Kernel panic - not syncing: No working init found. Try passing init= option to the kernel." Does anyone know how to ...
Hello, I can't connect to a Cisco IR510 WPAN Gateway's console port (Console port (RJ45)).I am using an Asunflower 6Ft Ftdi USB to Serial / Rs232 Console Rollover Cable for Cisco Routers - Rj45 cable.I follow documentation https://www.cisco.com/...
IE4000 (or Stratix 5400) user question: Has anyone successfully made VTP version 3 (or v2) work over a PRP interface? Debug sw-vlan * seems to show the VTP library transmitting VTP on the PR1 meta-interface instead of the underlying...