$ gpg2 --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
$ curl -sSL https://get.rvm.io | bash -s stable
$ curl -sSL https://get.rvm.io | bash -s stable --rails
$ source ~/.rvm/scripts/rvm
--- | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: nginx | |
labels: | |
app: nginx | |
spec: | |
replicas: 1 | |
selector: |
# installer_tool.sh: automated setup for ubuntu machines. | |
# Copyright (C) 2020 nu12 | |
# | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
In this article we will explore the functionalities of dockerapi
gem, a Ruby gem to interact directly with Docker API through HTTP. Differently from other gems, this gem uses HTTP requests to create a true API-like implementation behaviour. If you want to interact with Docker in an object-oriented approach, the traditional docker-api
would be a better fit. If you want to manipulate the Docker client in the host machine, see docker
gem.
Most gems seem to be abandoned for years, even the most famous ones. This alone wouldn't be a great deal, but they also lack functionality: not only Containers and Images are important, but Networks, Volumes, Swarms, Nodes, Secrets and so on. This gem aims to implement as most of the Docker API functionalities as possible.
Install docker & docker-compose
Docker https://docs.docker.com/engine/install/ubuntu/ Docker Compose https://docs.docker.com/compose/install/
create self-signed certificate