ntopng-docker's Introduction
ntopng-docker's People
ntopng-docker's Issues
ntopng: error while loading shared libraries: libcap.so.2: cannot open shared object file: No such file or directory
I'm trying to run this image on a Raspberry Pi 4 with Arch Linux ARM.
Here is my compose file:
version: "3.3"
services:
ntop:
image: edgd1er/ntopng:dev-latest
restart: unless-stopped
command: --community -d /var/lib/ntopng -i eth0 -r 127.0.0.1:6379@0 -w 0.0.0.0:3000
cap_add:
- NET_ADMIN
network_mode: host
environment:
- TZ=America/Chicago
- NTOP_UID=1000
- NTOP_GID=1000
volumes:
- ./data/ntopng:/var/lib/ntopng
depends_on:
- redis
redis:
image: redis:alpine
restart: unless-stopped
command: --save 900 1
ports:
- 6379:6379
volumes:
- ./data/redis:/data
The image starts, however the webpage is inaccessible and the docker-compose log shows this:
ntop_1 | + setTimeZone
ntop_1 | + [[ -z America/Chicago ]]
ntop_1 | ++ cat /etc/timezone
ntop_1 | + [[ America/Chicago == America/Chicago ]]
ntop_1 | + return
ntop_1 | + setUid
ntop_1 | + '[' -n 1000 ']'
ntop_1 | ++ id -u ntopng
ntop_1 | + '[' 1000 -ne 1000 ']'
ntop_1 | + setGid
ntop_1 | + '[' '!' -z 1000 ']'
ntop_1 | ++ id -g ntopng
ntop_1 | + '[' '!' 1000 -eq 1000 ']'
ntop_1 | + ntopng --community -d /var/lib/ntopng -i eth0 -r 127.0.0.1:6379@0 -w 0.0.0.0:3000
ntop_1 | ntopng: error while loading shared libraries: libcap.so.2: cannot open shared object file: No such file or directory
My guess is that libcap
wasn't installed when building the image since I can't find any results for it when searching in this repo.
Apt failes when aptcacher is not available
Thank you for this docker setup.
I noticed that when I did the 'docker-compose up -d' it failed to get packages.
It looks like the if check in Dockerfile.all doesn't work.
I commented out that part and it compiled ok.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.