Node

This is the area where you we guide you to use the Node VueJS service.

Default Configuration

linux network
Figure 1. Linux network

Working Directory

/project

Default user

docker

Default password

docker

Default password4root

pass

Directory Map

You can find it in Hybrid: Instances  More  Connect  Directory Maps

Ports

You can find it in Hybrid: Instances  More  Ports

Logs

You can find it in Hybrid: Instances  More  Logs

Connect

Connect Info in Hybrid: Instances  More  Connect  Open a terminal and Run

Connect via SSH

ssh docker@[IP]

Connect via exec

Open a terminal and Run:

docker exec -it -udocker hybrid-nodevuejs_master_1 /bin/bash

Find lab workers

Commands inside container
ifconfig

nmap -sP 172.130.0.0/24 # eth0 ip

or

/project/bin/swarmlab-nmap

Create a Project

Commands inside container
Creating a Project
vue create hello-world

Run it!

npm run serve

Open it!

http://IP:8080 # IP= eth0

Find Published ports

Info in Hybrid: Instances  More  Ports

Video

Start Vue

Learn how to start Vue

Stop Vue

Learn how to stop Vue