Enhancing Skills

Category: Linux

Discovering the Docker IP Address: A Step-by-Step Guide

In this article, we will explore how to find the IP address(es) of a running Docker container. You will learn various methods to identify the container’s IP address(es) depending on whether it is connected to a bridge network or an overlay network. We’ll also discuss how to handle situations where […] Read more »

Set Synogoly default interface

It is possible to change the default Ethernet interface on a Synology DSM (DiskStation Manager) system. Here are the steps to change the default Ethernet interface: Note that changing the default Ethernet interface may affect the network settings and connectivity of your Synology NAS, so be sure to review your […] Read more »

Restart Linux from the command line.

You can restart Linux from the command line using the “reboot” command. Here’s how to do it: This will initiate a system restart. Note that this will immediately restart your Linux system without any confirmation prompts, so make sure to save any unsaved work before running the “reboot” command. You […] Read more »

Check what is using a port on linux

Assume we are looking for port 443. Use the “netstat” command on Linux to see which processes are using port 443. Here’s how to do it: This will show a list of all active network connections and the corresponding processes that are using them. Replace “<PID>” with the actual PID […] Read more »

Docker Assistant (Set Me Up)

Follow these steps to get sites/apps working… 1) Clone Docker Assistant Clone docker_assistant to your server. (preferable one (1) level from the root directory) i.e. /volume1/docker_assistant/ The directory and file need to be owned by you. Use the user and group that has the least amount of permissions. Now change […] Read more »