Running Linkwarden in a Docker

Have any of you ever worked with linkwarden? Do you have any experience?

I would like to test it, but I have no idea what a Docker is or does. I have no experience with this. Can someone explain to me what a Docker does?

Docker is a container, it runs whatever (pi-hole, mariadb, web server etc), with limited access to your main system, sort of like a jail.

I run my own home page (Homaar), Google free Google search (Whoogle) and a pi-hole instance (TBH I am thinking of dumping this, browser extensions are much better, in the last 6 months, it blocked under a hundred requests).

3 Likes

With Docker you can run Applications in a Container. And as @xircon said with limited access to the host system (that all is configured in the yaml file)

2 Likes

@xircon @moxdrox

Thank you very much for your explanation. That makes a lot of things clearer for me :enos:

I’m going to bed smarter today :rofl:

2 Likes

If you wait until I get home, I can share a simple docker-compose install script that just runs Whoogle, you will need to install docker and docker compose, but it doesn’t interfere with anything (you just point your browser to localhost:<port>).

2 Likes

That would be great! I have to read up on the article first so that I know how to install Docker and Linkwarden

  • Create a directory say ~/linkwarden cd into it.
  • Install docker and docker compose
yay -S docker docker-compose

Run:

docker compose up -d

And that should get it up and running, then follow their instructions to access.

2 Likes

Thank you very much! Gonna try this but I don’t think so tonight.
I will give you feedback as soon as everything is installed and running :enos:

2 Likes
services:
  whoogle-search:
    image: ${WHOOGLE_IMAGE:-benbusby/whoogle-search}
    container_name: whoogle-search
    restart: unless-stopped
    pids_limit: 50
    mem_limit: 256mb
    memswap_limit: 256mb
    # user debian-tor from tor package
    user: whoogle
    security_opt:
      - no-new-privileges
    cap_drop:
      - ALL
    tmpfs:
      - /config/:size=10M,uid=927,gid=927,mode=1700
      - /var/lib/tor/:size=15M,uid=927,gid=927,mode=1700
      - /run/tor/:size=1M,uid=927,gid=927,mode=1700
    #environment: # Uncomment to configure environment variables
      # Basic auth configuration, uncomment to enable
      #- WHOOGLE_USER=<auth username>
      #- WHOOGLE_PASS=<auth password>
      # Proxy configuration, uncomment to enable
      #- WHOOGLE_PROXY_USER=<proxy username>
      #- WHOOGLE_PROXY_PASS=<proxy password>
      #- WHOOGLE_PROXY_TYPE=<proxy type (http|https|socks4|socks5)
      #- WHOOGLE_PROXY_LOC=<proxy host/ip>
      # Site alternative configurations, uncomment to enable
      # Note: If not set, the feature will still be available
      # with default values.
      #- WHOOGLE_ALT_TW=farside.link/nitter
      #- WHOOGLE_ALT_YT=farside.link/invidious
      #- WHOOGLE_ALT_IG=farside.link/bibliogram/u
      #- WHOOGLE_ALT_RD=farside.link/libreddit
      #- WHOOGLE_ALT_MD=farside.link/scribe
      #- WHOOGLE_ALT_TL=farside.link/lingva
      #- WHOOGLE_ALT_IMG=farside.link/rimgo
      #- WHOOGLE_ALT_WIKI=farside.link/wikiless
      #- WHOOGLE_ALT_IMDB=farside.link/libremdb
      #- WHOOGLE_ALT_QUORA=farside.link/quetre
      #- WHOOGLE_ALT_SO=farside.link/anonymousoverflow
    #env_file: # Alternatively, load variables from whoogle.env
      #- whoogle.env
    ports:
      - 5000:5000

access via browser localhost:5000

2 Likes