Skip to content

Commit

Permalink
Update run command options for docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
soramimi committed Dec 27, 2024
1 parent d04a531 commit a80aeb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ up: home home/.bashrc home/.profile
echo CONTAINER_NAME=${NAME} >./home/.container.sh
docker run --device /dev/fuse --privileged --name ${NAME} -d -p ${SSHPORT}:${SSHPORT} -v ${PROJHOME}:/${PROJNAME} -v ./home:${HOMEDIR} -e UNAME=${UNAME} -e GNAME=${GNAME} -e UID=${UID} -e GID=${GID} -e HOMEDIR=${HOMEDIR} -e CONTAINER_NAME=${NAME} -e SSHPORT=${SSHPORT} -e COMMAND=up ${NAME}

run: home home/.bashrc home/.profile
run: down home home/.bashrc home/.profile
echo ${RUN} >home/run.sh
echo CONTAINER_NAME=${NAME} >./home/.container.sh
docker run --device /dev/fuse --privileged --name ${NAME} --rm -p ${SSHPORT}:${SSHPORT} -v ${PROJHOME}:/${PROJNAME} -v ./home:${HOMEDIR} -e UNAME=${UNAME} -e GNAME=${GNAME} -e UID=${UID} -e GID=${GID} -e HOMEDIR=${HOMEDIR} -e CONTAINER_NAME=${NAME} -e COMMAND=run ${NAME}
docker run --device /dev/fuse --privileged --name ${NAME} --rm -v ${PROJHOME}:/${PROJNAME} -v ./home:${HOMEDIR} -e UNAME=${UNAME} -e GNAME=${GNAME} -e UID=${UID} -e GID=${GID} -e HOMEDIR=${HOMEDIR} -e CONTAINER_NAME=${NAME} -e COMMAND=run ${NAME}

home:
-mkdir home
Expand Down

0 comments on commit a80aeb0

Please sign in to comment.