petru 3613f3946e
Some checks failed
Build and push / build-and-push (push) Has been cancelled
Updated "How to use"
Build a new image and start container.
2026-04-13 07:15:15 +03:00
2023-10-28 22:43:37 +02:00
2023-05-19 14:06:06 +02:00
2023-05-19 11:35:00 +02:00
2023-03-08 10:41:57 +01:00
2024-04-28 14:08:57 +02:00
2023-03-08 10:43:02 +01:00
2026-04-13 07:15:15 +03:00

portainer-ce-without-annoying

This is a drop-in replacement for portainer/portainer-ce, without annoying UI elements.

portainer-ce-without-annoying is NOT a fork of portainer-ce. It is just an overlay script / proxy to inject styles / scripts, allow removing DOM elements.

Before After
image ==> image
image ==> image
image ==> image

Bonus: tracking script is also removed. See this issue

How to use

If you already have portainer-ce installation, just replace portainer/portainer-ce:latest with ngxson/portainer-ce-without-annoying:latest

For example, if you use the command from the official installation guide, the command will be:

docker volume create portainer_data
docker run -d \
  -p 8000:8000 -p 9443:9443 \
  --name portainer \
  --restart=always \
  -v /var/run/docker.sock:/var/run/docker.sock \
  -v portainer_data:/data \
  ngxson/portainer-ce-without-annoying:latest

Or, to build a new image, create a docker-compose.yml file with:

services:
  portainer:
    build: .  # Here you tell it: "Look for Dockerfile in the current folder"
    image: portainer-ce-without-annoying:latest
    container_name: portainer
    restart: always
    network_mode: bridge  # Această linie forțează utilizarea rețelei default
    ports:
      - "9000:9000"
      - "9443:9443"
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - ./data:/data

and start with:

docker compose up -d

Alternatively, you can use this docker-compose.yml

Description
A drop-in replacement for portainer/portainer-ce, without annoying UI elements or tracking script
Readme 56 KiB
Languages
JavaScript 90.2%
Shell 6.6%
Dockerfile 3.2%