Wednesday 23 December 2015

Basic Docker Management - 2

Find IP Address of docker:

$ docker inspect 77e97f109049 | more #Container ID or Name

Tuesday 22 December 2015

Installing Node.js

Setup with Ubuntu

curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash -
Then install with Ubuntu:
sudo apt-get install --yes nodejs
If you get node: command not found chances are likely you need to link your binary:
sudo ln -s /usr/bin/nodejs /usr/bin/node

Basic Docker Management - 1

Show all docker images:
$docker images

Show all running docker containers:
$docker ps

Show all stopped and running docker containers:
$docker ps -a

Delete a stopped docker container:
$docker rm _container_id_

Delete a all docker containers:
$ docker rm `docker ps -aq`

Useful link: https://docs.docker.com/engine/userguide/basics/

SSH / BASH into a running container:
1. If the container was started into /bin/bash mode:
$ sudo docker attach 665b4a1e17b6 #by ID and then press enter
or
$ sudo docker attach loving_heisenberg #by Name and the press enter
2. If the container was not started in bash mode
$ sudo docker exec -i -t 665b4a1e17b6 bash #by ID
or
$ sudo docker exec -i -t loving_heisenberg bash #by Name

Azure OpenAI Architecture Patterns & Deployment Patterns

Sharing some useful links that will help customers architect Azure OpenAI solution using the best practices: (1) Azure OpenAI Landing Zone r...