Drone: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 1: | Line 1: | ||
{| | |||
| valign="top" | | |||
'''Linux:''' | |||
export DRONE_HOME=/srv/drone | |||
| valign="top" | | |||
'''MacOS:''' | |||
export DRONE_HOME=$HOME/drone | |||
|} | |||
{| class="wikitable sortable" | |||
|- | |||
! Local location !! Container location !! Usage | |||
|- | |||
| <code>$DRONE_HOME/data</code> || <code>/data</code> || Application data | |||
|} | |||
<source lang="bash"> | |||
docker run -it --rm \ | |||
--publish 9081:80 \ | |||
--publish 4430:443 \ | |||
drone/drone:latest \ | |||
bin/sh | |||
id; exit | |||
</source> | |||
<source lang="bash"> | |||
mkdir -p $DRONE_HOME/{data} | |||
#chown -R 0:0 $DRONE_HOME/ | |||
</source> | |||
==References== | ==References== | ||
{| | {| |
Revision as of 02:19, 4 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/
References
| ||