Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. docker image on dockerhub info

docker image on dockerhub info

Scheduled Pinned Locked Moved Support
4 Posts 2 Posters 39.5k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    M
    madmucho
    wrote on last edited by
    #1

    Dear users,
    let me inform you about docker image which i created and maintain on dockerhub
    https://hub.docker.com/r/madmucho/netxms/

    this release contains netxms base sqlite version, it is very small based od debian 8 fast and running in seconds.

    If you miss something inside let me know here so i will add futures and items to next versions.

    1 Reply Last reply
    0
    • P
      P
      pheller
      wrote on last edited by
      #2

      This is useful, thanks for publishing it.  Would you be willing to share the Dockerfile and other things you add to the image?  If so, could you push to github and link that repository from the dockerhub entry?

      Regards,

        Phil

      1 Reply Last reply
      0
      • M
        M
        madmucho
        wrote on last edited by
        #3

        Hello,
        it is simple docker file i putting it here, so you can use it or help me make it better.
        after docker image is completed on my NAS I export it as backup and import again, so it basicaly flatten all layers and image is smaller.

        FROM debian:jessie
        MAINTAINER Chuck Norris
        RUN DEBIAN_FRONTEND=noninteractive apt-get update && DEBIAN_FRONTEND=noninteractive  apt-get install apt-utils -y && DEBIAN_FRONTEND=noninteractive apt-get install wget nano -y
        RUN echo 'deb http://packages.netxms.org/debian jessie main' >> /etc/apt/sources.list && wget -q -O - http://packages.netxms.org/netxms.gpg | apt-key add -
        RUN DEBIAN_FRONTEND=noninteractive apt-get update | apt-get upgrade -y
        RUN DEBIAN_FRONTEND=noninteractive apt-get install netxms-server nano snmp -y
        COPY *.conf /etc/
        RUN mkdir /opt/netxmsdb
        
        RUN nxdbmgr init /usr/share/netxms/sql/dbinit_sqlite.sql
        RUN DEBIAN_FRONTEND=noninteractive apt-get remove wget apt-utils -y && DEBIAN_FRONTEND=noninteractive apt-get autoremove -y && DEBIAN_FRONTEND=noninteractive apt-get clean -y
        RUN rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp*
        
        VOLUME /opt/netxmsdb
        EXPOSE 4700
        EXPOSE 4701
        EXPOSE 4702
        EXPOSE 4747
        
        
        CMD ["netxmsd", "nxagentd"]
        

        About docker hub, i will think about it, for now, i dont see much reason go there, i will better consult changes here with others. But it is standart i understand.
        in atachment two copied configs


        dockerfiles.zip

        1 Reply Last reply
        0
        • M
          M
          madmucho
          wrote on last edited by
          #4

          It has been 5 Years since I created the first netxms docker image and publish it on docker hub, now it is time to update from old debian jessie to buster and server to 3.8.

          I do this image and publish it on docker hub, https://hub.docker.com/repository/docker/madmucho/netxms

          In this time there are plenty of docker images of netxms in dockerhub repository, i must say i inspire from many of them but many of them is obsolete and dont fit my needs

          Main news in 3.8 tag and current latest is that image is put to supervisord control, long running container needs from time to time upgrade some config and packages, make some tweaks, supervisord allow all configured services make changes on fly, start/stop them with no need to reboot container itself.

          If you want you can try to use it, test it and let me know you opinion.

          Idea of this image is make basic netxms server available fast, image keeps clean and minimalistic, do not take necessary dependencies to base image (not webui, not mta, no docker compose necesary) and allow You to make all this changes if you want them.

          Tested on portainer, synology docker package, vps hosting as swarm node.

          And at end, i was able to upgrade my old 2.0.2 server instance schema/data to 3.8 just using change netxmsd.conf and mariadb tables ROW_FORMAT=DYNAMIC.
          Cheers  ;D

          1 Reply Last reply
          0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          Powered by NodeBB Contributors
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups