Sign inSign up

snipkode/rcm

By snipkode

Updated about 2 years ago

Remote Container Machine For Snipkode Workspace

Image
0

379

snipkode/rcm repository overview

REMOTE CONTAINER MACHINE

Remote Container Machine For Snipkode Workspace and Installed tools development environment have already listed below :

TAG 1.0 OR 1.1
  • Libreoffice
  • Anydesk
  • Remmina
  • Monzilla Firefox
  • Visual Studio Code (soon)
  • Intellij Idea (soon)
  • Postman (soon)

ARCHITECTURE

RCM DIND Architect

Install VNC Server:

apt install krfb

Go to startmenu and search krfb setup password and try vnc on <ip_same_network>:5900

TAG 1.2
  • Libreoffice
  • Anydesk
  • Remmina
  • Monzilla Firefox
  • Visual Studio Code
  • Intellij Idea (soon)
  • Postman (soon)

Noted :

  • This image based on snipkode/webtop:ubuntu-kde improvement installation requirement for basic development.
  • Running container with compose was recommended in order to run application tools (Only VScode) working properly

HOW TO RUN CONTAINER

  • Running Standalone Container

    $ docker run -dp 3000:3000 -p 3001:3001 --name <container_name> snipkode/rcm:1.0
    
  • Running inside of snipkode/workspace as Workspace Container with range port up to 3 workspace

    Step 1 : Remote Container Workspace

    $ docker run -dp 3000-3004:3000-3004 --privileged --name workspace snipkode/workspace:<tagname>
    

    Step 2 : Run Remote Container Machine

    $ docker run -dp 3000:3000 --name work-01 snipkode/rcm:<tagname>
    
    $ docker run -dp 3000:3001 --name work-02 snipkode/rcm:<tagname>
    
    $ docker run -dp 3000:3002 --name work-03 snipkode/rcm:<tagname>
    
    $ docker run -dp 3000:3004 --name work-04 snipkode/rcm:<tagname>
    
Create New Group Network
$ docker network create devjam
Running Container Without DIND
version: "2.1"
networks:
  devjam:
   external: true

services:
  nginx-v:
    image: snipkode/rcm:1.3
    hostname: nginx
    container_name: nginx-v     
    security_opt:
      - seccomp:unconfined #optional
    environment:
      - TZ=Asia/Jakarta
      - TITLE=Ubuntu Desktop  
    volumes:
      - ./config:/config
      - /var/run/docker.sock:/var/run/docker.sock #optional
    ports:
      - 8560:3000 # change the left side port if you can't use 3000
    shm_size: "1gb" # optional
    restart: unless-stopped
    networks: 
      devjam:

supposed user of abc can access docker daemon from parent docker daemon, in order to monitor on docker extension in vscode :

chmod 777 /var/run/docker.sock
Running Container With DIND
version: "2.1"
networks:
  devjam:
   external: true
services:
  webtop:
    image: snipkode/rcm:1.2
    hostname: snipkode
    privileged: true
    container_name: nginx-v
    security_opt:
      - seccomp:unconfined #optional
    environment:
      - TZ=Asia/Jakarta
      - TITLE=Ubuntu Desktop
    volumes:
      - ./data:/config
    ports:
      - 3000:3000 # change the left side port if you can't use 3000
    shm_size: "1gb" # optional
    restart: unless-stopped
    networks:
      devjam:

THEME RECOMMENDATION

  • Edna Dark
  • Breeze Dark

USE Nordic Theme TAG 1.3 This can be done with lookandfeeltool that shall come preinstalled on any recent version of Plasma 5. To use it, type on a terminal window:

lookandfeeltool --list to get a list of all available themes on your system. lookandfeeltool -a Nordic to change to your desired theme.

Tag summary

Content type

Image

Digest

sha256:7d30baeb8

Size

1.9 GB

Last updated

about 2 years ago

docker pull snipkode/rcm:2.7