Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • 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 (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Off-topic
  3. Docker Image as working environment?

Docker Image as working environment?

Scheduled Pinned Locked Moved Off-topic
4 Posts 3 Posters 511 Views 3 Watching
  • 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.
    • KubernetesK Offline
      KubernetesK Offline
      Kubernetes
      App Dev
      wrote on last edited by
      #1

      Hi there,
      is anyone aware of a best practice or project description of creating a docker image for use as a personal working environment? I work a lot on my servers with command line tools and just had the idea, what if I have it in an Docker Image. So I could have my known environment on any server (with Docker) or in case of disaster it would be easy to redeploy.
      Does that make sense, or is it a bad idea?
      Best,
      Mike

      1 Reply Last reply
      0
      • fbartelsF Offline
        fbartelsF Offline
        fbartels
        App Dev
        wrote on last edited by
        #2

        I think https://github.com/89luca89/distrobox could be what you're looking after. With distrobox it is quite easy to start (even gui) applications that are not installed locally, but instead come out of one or more containers. Distrobox is also commonly used to install and run applications in otherwise immutable operation systems.

        One such tool that you could have in your distrobox could be your dotfile manager, so that you have access to your secrets that you would otherwise not bake into a container.

        Another tool I used a lot in the past is https://github.com/cdown/sshrc (although the maintainer has changed since I last used it it seems). With that you can select some of your dotfiles and have it copied into a temporary folder when you ssh into a system.

        KubernetesK 1 Reply Last reply
        1
        • fbartelsF fbartels

          I think https://github.com/89luca89/distrobox could be what you're looking after. With distrobox it is quite easy to start (even gui) applications that are not installed locally, but instead come out of one or more containers. Distrobox is also commonly used to install and run applications in otherwise immutable operation systems.

          One such tool that you could have in your distrobox could be your dotfile manager, so that you have access to your secrets that you would otherwise not bake into a container.

          Another tool I used a lot in the past is https://github.com/cdown/sshrc (although the maintainer has changed since I last used it it seems). With that you can select some of your dotfiles and have it copied into a temporary folder when you ssh into a system.

          KubernetesK Offline
          KubernetesK Offline
          Kubernetes
          App Dev
          wrote on last edited by
          #3

          @fbartels Thanks for sharing, I will check out both projects

          1 Reply Last reply
          0
          • timconsidineT Offline
            timconsidineT Offline
            timconsidine
            App Dev
            wrote on last edited by
            #4

            check out Kasm - rock solid with lots of environments, and their images can be used 'standalone' (I think)

            1 Reply Last reply
            0
            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.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Bookmarks
              • Search