start new:
tmux
start new with session name:
tmux new -s myname
| #!/bin/bash | |
| # Install docker | |
| apt-get update | |
| apt-get install -y cloud-utils apt-transport-https ca-certificates curl software-properties-common | |
| curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
| add-apt-repository \ | |
| "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ | |
| $(lsb_release -cs) \ | |
| stable" | |
| apt-get update |
| { | |
| "containerDefinitions": [ | |
| { | |
| "logConfiguration": { | |
| "logDriver": "awslogs", | |
| "options": { | |
| "awslogs-group": "/ecs/api", | |
| "awslogs-create-group": "true", | |
| "awslogs-region": "us-east-1", | |
| "awslogs-stream-prefix": "ecs" |