Run Draw.io - Open Source Diagramming Web Application - in Docker

Channel:
Subscribers:
14,500
Published on ● Video Link: https://www.youtube.com/watch?v=5RYiRdmedd4



Category:
Tutorial
Duration: 1:48
1,064 views
40


#DrawIO #Docker #Homelab

Full steps can be found at https://i12bretro.github.io/tutorials/0878.html

--------------------------------------------------------------------
What is Draw.io?
--------------------------------------------------------------------
draw.io is a configurable diagramming/whiteboarding visualization application. - https://github.com/jgraph/drawio
 
--------------------------------------------------------------------
Installing Docker
--------------------------------------------------------------------
   01. Log into the Linux based device
   02. Run the following commands in the terminal
         # install prerequisites
         sudo apt install apt-transport-https ca-certificates curl software-properties-common gnupg-agent -y
         # add docker gpg key
         curl -fsSL https://download.docker.com/linux/$(awk -F'=' '/^ID=/{ print $NF }' /etc/os-release)/gpg | sudo apt-key add -
         # add docker software repository
         sudo add-apt-repository "deb [arch=$(dpkg --print-architecture)] https://download.docker.com/linux/$(awk -F'=' '/^ID=/{ print $NF }' /etc/os-release) $(lsb_release -cs) stable"
         # install docker
         sudo apt install docker-ce docker-compose containerd.io -y
         # enable and start docker service
         sudo systemctl enable docker && sudo systemctl start docker
         # add the current user to the docker group
         sudo usermod -aG docker $USER
         # reauthenticate for the new group membership to take effect
         su - $USER
 
--------------------------------------------------------------------
Running draw.io
--------------------------------------------------------------------
   01. Now that Docker is installed, run the following command to run draw.io
         # run draw.io
         docker run -d --name drawio -p 8080:8080 --restart=unless-stopped jgraph/drawio
   02. Open a web browser and navigate to http://DNSorIP:8080
NOTE: to disable saving to cloud storage, add /?offline=1 (IE http://DNSorIP:8080/?offline=1)
   03. Welcome to draw.io
 


### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro







Tags:
Browser Based
Container
Containerization
Diagram
Docker
Docker Container
Docker Host
Docker Installation Tutorial
Docker Made Easy
Docker Made Simple
Docker Setup Tutorial
Docker Simplified
Docker Tutorial
Draw
Draw.io
FOSS
Home Lab
Home Lab Ideas
How To
Install Guide
Linux
Open Source
Self-Hosted
Tomcat
Tutorial
Visio
Visio Alternative
Web Based
Web Based Tools
Web Based Utilities
Whiteboard
Whiteboarding
i12bretro