Skip to content

Latest commit

 

History

History
55 lines (35 loc) · 1.23 KB

README.md

File metadata and controls

55 lines (35 loc) · 1.23 KB

Netease Cloud Music in Docker Container

Docker image of Netease Cloud Music (网易云音乐) for Linux.

Netease Cloud Music (网易云音乐) is one of the most popular music players in China.

Background

Why creating this image

  • Since Netease Cloud Music for Linux is NOT an open source software, users like me don't want to run it directly on host for safety reasons.

  • It is not available for Linux distributions other than Ubuntu and deepin.

Preconditions

  1. You must have Docker and Docker Compose installed:
  1. Make sure your music library is accessible by the root group (the music player inside the container will be run under the root group):
mkdir -p $HOME/Music && chgrp -hR 0 $HOME/Music && chmod -R g=rX $HOME/Music
mkdir -p $HOME/Music/CloudMusic && chgrp -hR 0 $HOME/Music/CloudMusic && chmod -R g=rwX $HOME/Music/CloudMusic

Usage

  • Pull the image from Docker Hub:
docker-compose pull
  • Run in the background:
docker-compose up -d
  • Stop:
docker-compose down

(FOR DEVELOPERS) Build

docker-compose build