Drone: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
Line 38: Line 38:


|valign='top'|
|valign='top'|
sudo lsof -i -P -n | grep LISTEN


|valign='top'|
|valign='top'|
Line 52: Line 53:


|}
|}


==References==
==References==

Revision as of 19:23, 5 April 2023

Linux:
export DRONE_HOME=/srv/drone
MacOS:
export DRONE_HOME=$HOME/drone
Local location Container location Usage
$DRONE_HOME/data /data Application data
docker run -it --rm \
--publish 9081:80 \
--publish 4430:443 \
drone/drone:latest \
bin/sh
id; exit
mkdir -p $DRONE_HOME/{data}
#chown -R 0:0 $DRONE_HOME/

Knowledge

sudo ss -tulwn | grep LISTEN
sudo ss -tulpn | grep LISTEN
sudo ss -tulpn | grep LISTEN | grep sshd
sudo ss -tulpn | grep LISTEN | grep minio
sudo ss -tulpn | grep LISTEN | grep resolve
sudo lsof -i -P -n | grep LISTEN

References