- Edit the systemd service file
[Service]
Type=simple
Restart=always
RestartSec=3
- Reload the deamon
Install Docker on Ubuntu Using Default Repositories Step 1: Update Software Repositories It’s a good idea to update the local database of software to make sure you’ve got access to the latest revisions.
Open a terminal window and type:
sudo apt-get update
Allow the operation to complete.
Add the docker group if it doesn't already exist:
sudo groupadd docker
Add the connected user "$USER" to the docker group. Change the user name to match your preferred user if you do not want to use your current user:
sudo gpasswd -a $USER docker
Either do a newgrp docker or log out/in to activate the changes to groups.
| { | |
| "tabWidth": 2, | |
| "semi": true, | |
| "singleQuote": true, | |
| "printWidth": 90 | |
| } |
| **/node_modules | |
| node_modules |
sudo chown "$USER":"$USER" /home/"$USER"/.docker -R
sudo chmod g+rwx "/home/$USER/.docker" -R
| const axios = require('axios') | |
| const qs = require('querystring') | |
| const requestBody = { | |
| name: 'Akexorcist', | |
| age: '28', | |
| position: 'Android Developer', | |
| description: 'birthdate=25-12-1989&favourite=coding%20coding%20and%20coding&company=Nextzy%20Technologies&website=http://www.akexorcist.com/', | |
| awesome: true | |
| } |
listen [::]:443 ssl http2 ipv6only=on;
listen 443 ssl http2;