User Tools

Site Tools


dockerlxc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
dockerlxc [2026/07/02 02:19] – jwandockerlxc [2026/07/18 15:50] (current) – jwan
Line 33: Line 33:
 # 1. Ensure the SSH server is installed # 1. Ensure the SSH server is installed
 apt update && apt install openssh-server -y apt update && apt install openssh-server -y
- 
-# 2. Allow root to log in with a password 
 sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/g' /etc/ssh/sshd_config sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/g' /etc/ssh/sshd_config
- 
-# 3. Restart the SSH service to apply the changes 
 systemctl restart ssh systemctl restart ssh
 </code> </code>
  
 +The DHCP IP address, check the IP from the NETWORK of the node
 +
 +
 +Note:
 +<code>
 +================================================================================
 +
 +To run Docker as a non-privileged user, consider setting up the
 +Docker daemon in rootless mode for your user:
 +
 +    dockerd-rootless-setuptool.sh install
 +
 +Visit https://docs.docker.com/go/rootless/ to learn about rootless mode.
 +
 +
 +To run the Docker daemon as a fully privileged service, but granting non-root
 +users access, refer to https://docs.docker.com/go/daemon-access/
 +
 +WARNING: Access to the remote API on a privileged Docker daemon is equivalent
 +         to root access on the host. Refer to the 'Docker daemon attack surface'
 +         documentation for details: https://docs.docker.com/go/attack-surface/
 +
 +================================================================================
 +</code>
dockerlxc.1782958752.txt.gz · Last modified: by jwan

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki