ubuntu and libcap (capabilities) undefined reference

I'm trying to compile the following minimal C code on ubuntu 10.10: #include <sys/capability.h> void main(void) { cap_t cap; cap = cap_get_proc(); } with gcc -lcap test.c which...

To install ia32-libs on debian wheezy amd64

I'm using Debian 7 (wheezy) amd64. uname -a Linux tzwm-debian 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 GNU/Linux And I want to install ia32-libs in my Debian. But this happens when I try to...

Application generating "Error: listen EACCES" while starting application with pm2 on port 80?

We are using pm2 for starting my nodejs app on port 80 on ubuntu. But the application generating error **Error: listen EACCES**. Our pm2 version is 0.12.7 and we are using the following...

do_rootfs failed on yocto build

I have integrated a makefile based project into custom recipes within yocto but there was an issue: do_rootfs failed. Please find library source and I try to integrate this library into oe-core:...

How do I safely run a Node.js server on port 80 with Amazon Elastic Beanstalk?

The following error is common for people trying to run a Node.js server on port 80. Error: listen EACCES 0.0.0.0:80 I used to solve this on my Amazon EC2 server simply by using sudo node...

Error while installing java in ubuntu 16.04 having Cyberoam Client installed

I'm using Ubuntu 16.04 OS and also linked my pc with Cyberoam client for the security purpose. I'm trying to install java for Android Studio in it and I'm getting following error in terminal...

How to install clang on ubuntu14.04

I want to learn llvm so I have to install clang in my ubuntu 14.04,but I encounter some problems.Here it is: when I execute command:sudo apt-get install clang-3.5 I just get some error message...

How can I run my nodejs with nodemon on port 80

I have my nodejs running on port 9090 and I somehow made it work on port 80 by using the following setup sudo apt-get install libcap2-bin sudo setcap cap_net_bind_service=+ep and when I run as...

Installing libcap package on Raspberry Pi

I couldn't install libcap package to use CAP_SYS_ADMIN on Raspberry Pi 3. How can I install it? I couldn't understand installing step in some websites. This is the version page of...

Setting build args in docker-compose.yml using env_file

I'm trying to use Docker and Docker Compose to create a containerized app. I have a PubNub account, which allows me to use different API keys for different environments (dev, test, prod). To help...

Tshark running on CentOS inside Docker: Operation not permitted: '/usr/sbin/dumpcap'

I'm trying to run a Docker image with Tshark on CentOS. Unfortunately I keep getting this PermissionError: [Errno 1] Operation not permitted: '/usr/sbin/dumpcap' error. My...

Docker Build "Could not resolve hostname" behind corporate proxy

I have Docker for Windows set up, with GIT and Node.js. While trying to run a docker build with the following command: $ docker build --no-cache -t hfc_joomla . The error is visible in Step...

Docker Insufficient permissions to set thread priority

I'm getting this error when running a multi-threading library on Docker. Insufficient permissions to set thread priority. Please retry as root. I have therefore tried to run the image with the...

Java dependency failure for .deb file on openjdk docker base

I have been working with an opensource project. Which creates docker images with build-generated debian (.deb) packages installed on the jdk8 image. But lately I started to have error and...

Docker pihole Setup Stopping at lighttpd service

I am installing pihole in an ubuntu docker image. However, the setup stops and exists at "Restarting lighttpd service." Here is my base.docker file: FROM ubuntu:latest ENV term=xterm ENV...

Yocto poky build fails on function do_rootfs

I've been following the steps on https://www.linux4sam.org/bin/view/Linux4SAM/PokyBuild to build a core-image-minimal and a microchip-headless-image for SAMA5D27 eval kit using Yocto. I am stuck...

Cant apt install iputils and net-tools in dockerfile

I'm trying to install ping and ifconfig on a docker container. However, when I run this dockerfile, I get the following errors: E: Failed to fetch...

Can't install java 8 on linux mint

Linux Mint 19.3 I need to install jdk 8. I try this: sudo apt update result: Ign:1 http://mirrors.evowise.com/linuxmint/packages tricia InRelease Hit:2...

udocker & ubuntu:20.04 image

on my debian jessie I installed most recent udocker. In udocker I pulled ubuntu:20.04 image and when starting installing packages into that container, got this error below. Any help, please...

PWM using bcm2835 library as non-root in Raspberry Pi

I need to control some DC motors using PWM. I have been trying to use the bcm2835 library, but I need root access to run my program. I need to avoid this, as this program is part of a ROS package,...

running curl in chroot

I'm trying to build some minimal container images (based on portablectl from systemd-container, which essentially uses chroot for containerization). I'm running into a problem with some programs...

Run Xdebug on laravel sail docker Windows PhpStorm

So, after hours of Googling no right answer is found. Ive started the Laravel 8.x tutorial installation for Windows using Docker and Laravel's sail. Now i want to use Xdebug and have absolutely no...

Why is the "sail up" command not building my laravel docker containers?

I'm trying out Laravel Sail, as I've been successfully using Laradock for a few years and hoping to simplify my dev environment setup. I am on Windows 10 64, Docker Desktop 3.0 installed using...

In my Docker container, why can I still bind the port 1 without `NET_BIND_SERVICE` capability?

I'm using Ubuntu 18.04 Desktop. Here are more details about my question. Recently, I'm writing some test code that wants to do this: when it is run as a non-privileged user, the test code tries to...

Laravel docker image "Could not open input file: /var/www/html/artisan"

I'm attempting to build and run a Laravel docker image which was originally generated via Laravel sail. When using docker-compose up, it correctly runs and I am able to access the site. Running...

Laravel Sail and SQL Driver

I want to add SQL Driver to Docker file, I copied the file from vendor/laravel/runtimes/8.0/Dockerfile to root project and modified for add the dependencies for SQL Server Driver. This is my...

Laravel Sail Failed to Build

I'm struggling to get Laravel Sail working. Following the instructions from the documentation I'm not really understanding why the container is failing to build. I don't have any docker...

Laravel with SQL Server ODBC Driver 17 for SQL Server Login timeout expired

I am working on a project which requires Laravel + SQL Server. I was trying to build the environment by using Laravel sail, and realized that the dockerfile used by sail does not contains drivers...

DockerFile in ./docker/8.0 vs DockerFile in ./vendor/laravel/sail/runtimes/8.0

Good day, I got stumbled to a peculiar issue. I'm a newbie in Laravel Sail with Docker. When I change the laravel service context to point to DockerFile in ./docker/8.0 which I used to add some...

Laravel SAIL_XDEBUG_MODE not working for debugging web calls

I have started to play with my first Laravel project on a MacOS. I am using Laravel Sail for running the project inside a container and everything seems to work except the debugging part. Versions...