To install docker, awscli, ...
curl -sSL https://raw.githubusercontent.com/tmieulet/script/master/dev.sh -o dev.sh
bash dev.sh
- If you would like to use Docker as a non-root user, you should now consider adding your user to the "docker" group with something like:
sudo groupadd docker
sudo usermod -aG docker your-user
- Configure Docker to start on boot
sudo systemctl enable docker
The docker script can fail and display "E: Package 'docker-ce' has no installation candidate". Please see the installation instructions : https://docs.docker.com/engine/installation/linux/
This script uses git, maven, jdk and sam, see https://github.com/awslabs/aws-serverless-java-container.
curl -sSL https://raw.githubusercontent.com/tmieulet/script/master/validate-sam.sh | sh
Ok if the service https://localhost:3000/pets is up.
The Docker Bench for Security is a script that checks for dozens of common best-practices around deploying Docker containers in production.
git clone https://github.com/docker/docker-bench-security.git
cd docker-bench-security
sudo sh docker-bench-security.sh