sudo ssh -fNL 80:localhost:80 -p 2200
/mnt/d/SkyDrive/Development/jan.ppk
Protect your private key!!!
{
"id": "nginx",
"cpus": 0.1,
"mem": 32.0,
"instances": 1,
"container": {
"type": "DOCKER",
"docker": {
"image": "nginx",
"network": "BRIDGE",
"portMappings": [
{
"containerPort": 80,
"servicePort": 9000,
"protocol": "tcp"
}
]}}}
FROM microsoft/dotnet:1.1-runtime
ARG source
WORKDIR /app
COPY ${source:-obj/Docker/publish} .
ENTRYPOINT ["dotnet", "Convertor1.dll"]
version: '3'
services:
convertor1:
image: convertor1
build:
context: ./Convertor1
dockerfile: Dockerfile
convertor2:
image: convertor2
build:
context: ./Convertor2
dockerfile: Dockerfile
ERROR: Your Docker server host is configured for 'Linux’,
however the docker-compose project targets 'Windows'.
REPOSITORY TAG IMAGE ID CREATED SIZE
convertor2 latest bf602eb14b69 4 seconds ago 252MB
convertor1 latest b4b8fe7cf747 5 seconds ago 252MB
convertor1 dev e860883229b0 6 minutes ago 251MB
convertor2 dev 8bdc920fd3e2 18 minutes ago 251MB
{
"id": "convertor1",
"cpus": 0.1,
"mem": 32.0,
"instances": 1,
"container": {
"type": "DOCKER",
"docker": {
"image": "jandev/convertor1",
"network": "BRIDGE",
"portMappings": [
{
"containerPort": 80,
"servicePort": 9000,
"protocol": "tcp"
}
]}}}
Create ACS cluster
Connect with SSH + Tunnel
Add Docker support to projects
Rebuild as Release
Push to registry
Deploy services as container