RTNETLINK answers: No such file or directory

When I run this cmd: tc qdisc add dev eth0 root red limit 51200000 min 128000 max 512000 avpkt 1024 burst 200 ecn probability 0.5 i get RTNETLINK answers: No such file or directory I have...

pushd through os.system

I'm using a crontab to run a maintenance script for my minecraft server. Most of the time it works fine, unless the crontab tries to use the restart script. If I run the restart script manually,...

RTNETLINK answers: Operation not supported

In fact, I want to use pipework to add an ipoib interface into docker container. Pipework use ip command to do this. But when running the command... ip link add link ib0 name ib0.2613 type...

Simulating network failures in Docker

I am trying to simulate partial/total network/container failure in docker in order to see how my application behaves in failure conditions. I have started by using pumba, but it isn't working...

How to control the source IP address of a ZeroMQ packet on a machine with multiple IPs?

The Python standard library's socket.create_connection()method has a source address option, for controlling which source IP a connection uses. How do I do the same thing with a Python ZeroMQ...

Yocto Conflict between attempted installs

I have a conflict between a number of install files. I am getting the below error: Transaction Summary ================================================================================ Install 612...

Use vivante GPU on IMX6 with 4.14 kernel

I am working on IMX6QP with yocto rocko / Linux 4.14.24 and I am trying to use the GPU. My yocto configuration file : MACHINE ??= 'imx6qp-tx6-emmc' DL_DIR ?= "${BSPDIR}/downloads" SSTATE_DIR ?=...

How to Debug 'ip link add vrf-blue type vrf table 10' RTNETLINK answers: Operation not supported

I am trying to enable vrf in Linux kernel 4.9.135 version and have enabled IP_MULTIPLE_TABLES, NET_L3_MASTER_DEV and NET_VRF in kernel and build the kernel. bash-4.3# zgrep "CONFIG_NET_VRF"...

How to start JanusGraph Server with FoundationDB on a different host or container?

I am trying to create a docker-compose project with - JanusGraph server, ElasticSearch server and FoundationDB server. I am using following docker images: for ElasticSearch -...

How to mount devcontainer to $HOME

I'm trying to setup a devcontainer which mounts the workspace in VSCode to /home/node and puts everything in the project into $HOME in docker. the reason why I want to do this is so when the...

Map sharing between different ebpf program types

Is it possible to share ebpf maps between different program types. I need to share a map between a tc-bpf program and a cgroup bpf program. This should be possible if the map is pinned to file...

wireguard client and openvpn server can not traverse packet

Hello? I'm setting up this configuration. wireguard server (192.168.0.1) PROVIDER / VPS wireguard client (192.168.0.2) - ENS3 (10.0.0.2) ETHERNET - openvpn server (10.1.0.0/24, tun0 10.1.0.1) so,...

How to add RUN Commands with docker-maven-plugin in pom.xml

I have been using Dockerfile for my project with a sample code like given below. RUN groupadd syslog && apt-get update && apt-get -q install -y curl logrotate iproute2 I would like to convert...

docker compose not setting environment variables

i have read a lot of answers on here, i'm still not getting whats going on with my instances docker-compose.yml version: '3' services: api: build: ./puller-api/ ports: - "8000:8000" ...

How to NAT, POSTROUTE and MASQUERADE without iptables on a device with busybox

I have a Single Board Computer (SBC) running on HiSilicon linux with Busybox. I am trying to convert this device into an Access Point. It has a wifi module and an ethernet port ( which will be...

bitnami spark docker install packages on the minideb

how to install additional packages in bitnami spark docker image :latest, which comes with a minideb version, Also I am unable to do sudo su - I have no [email protected]:/opt/bitnami/spark$ apt...

Can't access jupyter notebook inside docker container

I know there are a lot of questions of people who are struggling with this but please read the entire post. So I just want to create a dockerfile that exposes port 8888 to access a jupyter...

Error when creating a network namespace inside a docker container. error: mount --make-shared /run/netns failed: Permission denied

I'm getting an error when creating a network namespace inside a docker container saying permission denied. command ip netns add red error mount --make-shared /run/netns failed: Permission...

Enable 'tc' of iproute2 package on YOCTO

We're trying to enable Traffic Control (tc) on YOCTO (warrior dist.), while it seems that tc was indeed built into the YOCTO image, when trying to apply a tc filter command we're getting this...

Openshift deployment is unable to access jarfile "tes.jar"

I am trying to deploy a springboot application in openshift environment. The deployment is finished but the pod is going into "CrashLoopBackOff" error. Found the access error from the pod...

VS code remote containers - connect to a database either on host machine or one in a separate docker-compose file

I have started using VS code remote containers, specifically the GO one thats generated for you via the options. It provides a devcontainer.json file and a Dockerfile which works fine. My problem...

How to fix the errors encountered while processing installation

I wanted to reinstall java which was accidently deleted, using this post. As mentioned in the above post on runningsudo apt install default-jre, I got this error: Reading package lists......

`ip link add ifb0 type ifb` does not work on Docker even with `docker run --cap-add=NET_ADMIN`

I'd like to add use ip link command to create type ifb, but fails like this: $ docker run --cap-add NET_ADMIN --rm -it ubuntu:14.04 ip link add ifb0 type ifb RTNETLINK answers: Operation not...

Remote Dev Containers - Moving to Docker Compose

I'm using VSCode Devcontainers to develop a micro-services application and I've been using a Java Devcontainer without issues. But, given the micro-service nature of the project, there are other...

Docker container healthcheck stop unhealthy container

I have a docker container that has a healthcheck running every 1 min. I read that appending "|| kill 1" to the healthcheck in dockerfile can stop the container after healthcheck fails, but it does...

"RTNETLINK answers: Operation not permitted" during `docker build`

I want to build a Docker image with latency+loss on some localhost ports using tc and netem. The tc command works on a regular vm, but not in the Dockerfile. Here's my Dockerfile: FROM...

How to cache maven repo when building Spring Boot docker image on Jenkins

I'm trying to build docker images for a Spring Boot application (2.3.6.RELEASE) using the spring-boot-maven-plugin build-image goal (buildpacks), but it's downloading the internet everytime! Is...

Unexpected bash readable test result with GitHub Actions

MWE I have a GitHub Actions workflow that recently stopped working without me making changes. The error: ==> ERROR: /etc/makepkg.conf not found. Aborting... This is from running # sudo -Eu...

Gitlab: How to execute script after job cancelled

I am looking for a way to clean up the runner after a job has been cancelled in gitlab. The reason is we often have to cancel running jobs cause the runner is sometimes stuck in the test pipeline...

Remote Container - Ubuntu:Latest - /dev/null: Permission denied

Up until recently, I had no issues with my using Remote Containers with an Ubuntu image (via a Dockerfile and docker-compose since I also need to run a mongodb container). Admittedly, I have not...