Check a Docker container’s command with docker inspect

Review the image, entrypoint, and arguments configured in a Docker container so you can reproduce it or troubleshoot it from the terminal.

What command starts a Docker container? docker inspect lets you check the image and the Entrypoint and Cmd fields saved in its configuration.

Continue reading “Check a Docker container’s command with docker inspect”

Manage the Firewall in Ubuntu 16.04 (ufw)

Learn the basic UFW firewall operations in Ubuntu 16.04 and derivatives: check its status, enable or disable it, set default rules, and open or close ports.

The default firewall in Ubuntu 16.04 and derivatives is UFW – Uncomplicated Firewall.

In this post, we will see how to perform the most basic operations with this firewall: enable it, disable it, and open and close ports. Continue reading “Manage the Firewall in Ubuntu 16.04 (ufw)”