2014-12-12 3 views
0

Docker를 통해 Minecraft 서버를 실행하고 configs를 수정하고 폴더/configs 및 기타 등등을 서버에 업로드해야합니다. 분명한 방법은 호스트의 FTP를 사용하여 호스트의 파일 시스템을 통해 '동기화 된'폴더에 액세스하는 것입니다.호스트의 Docker 컨테이너/홈 폴더에 액세스

McMyAdmin Updater - 2.2.0.0 

Running in 64-bit mode. 
Notice : Detecting System... 
Notice : No virtualized environment detected. 
Notice : Linux Distribution: Unknown Distribution 
Notice : Detection complete. 
Warning : No Minecraft configuration file found (Normal on a first start) 
Notice : Detected Java runtime version 1.7.0 
Notice : Checking for Minecraft Server updates... 
Notice : Updating Minecraft server... 
Notice : Downloading latest Minecraft server... 
Notice : Error downloading file. 
Downloading Game Server: -1%Notice : Download failed! 
Notice : Starting McMyAdmin Personal v2.5.2.4 
Warning : No saved group information was found. Loading Defaults. 
Notice : Upgraded 4 legacy groups 
Notice : No saved schedule was found. Loading Defaults. 
Notice : Checking for updates... 
Notice : Checking for Minecraft Server updates... 
Notice : Starting webserver... 
Notice : McMyAdmin has started and is ready for use. 
Notice : This is the first time McMyAdmin has been started. 
Notice : You must complete the first-start wizard via the web interface. 

이 응답하지 (및 다운로드 오류 통지) : 나는 시도했다 :

docker run -v `pwd`/src/mc:/home/minecraft/mcmyadmin/Minecraft jchaney/mcmyadmin 

하지만/SRC/MC 폴더는 비어 있고 컨테이너는 결코 작동하지 않습니다.

아이디어가 있으십니까?

명확하지 않은 경우 이러한 구성을 편집해야하므로 처음부터 복사본이 한 번만 작동하므로이 구성을 다시 구성하여 구성을 편집하는 것은 불편합니다.

+0

미리 만들어진 컨테이너라면 어떨까요? docker pull (CID)와 마찬가지로 –

답변

0

COPY 명령과 함께 Dockerfile을 사용하여 필요한 모든 configs/파일을 가진 컨테이너를 빌드하십시오.

+0

미리 만들어진 컨테이너 인 경우 (I.E. docker pull ) –

+0

그리고 이따금 편집해야합니다. –

관련 문제