Running Snippet Box in Docker [Web Based Code/Link/Notes Snippets Organizer]

Published: 08 December 2022
on channel: i12bretro
892
12

#Docker #Linux #Ubuntu #SnippetBox

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

--------------------------------------------------------------------
What is Snippet Box?
--------------------------------------------------------------------
Snippet Box is a simple self-hosted app for organizing your code snippets. It allows you to easily create, edit, browse and manage your snippets in various languages. - https://github.com/pawelmalak/snippet...
 
--------------------------------------------------------------------
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 Snippet Box
--------------------------------------------------------------------
   01. Continue with the following commands in a terminal window
         create a working directory
         mkdir ~/docker/snippet-box -p
         run the snippet-box container
         docker run -d --name=snippet-box -p 5000:5000 -v ~/docker/snippet-box:/app/data --restart=unless-stopped pawelmalak/snippet-box
   02. Open a web browser and navigate to http://DNSorIP:5000
   03. Welcome to Snippet Box
 
Documentation:  https://hub.docker.com/r/pawelmalak/s...
 


Connect with me and others ###
★ Discord:   / discord  
★ Reddit:   / i12bretro  
★ Twitter:   / i12bretro  


On this page of the site you can watch the video online Running Snippet Box in Docker [Web Based Code/Link/Notes Snippets Organizer] with a duration of hours minute second in good quality, which was uploaded by the user i12bretro 08 December 2022, share the link with friends and acquaintances, this video has already been watched 892 times on youtube and it was liked by 12 viewers. Enjoy your viewing!