10-30-2021, 03:57 AM
Hi Liv_s,
I finished step configure.py and the error as the bottom line "Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?"
"i@moode:~/pydPiper $ sudo python configure.py
Creating configuration file for pydPiper
----------------------------------------
STARTUP CONFIGURATION
Startup mode duration (in seconds)? [5]:
DISPLAY CONFIGURATION
Display type?: hd44780_i2c
I2C Port? [1]:
I2C Address? [0x3d]: 0x27
Width of display (in pixels)? [80]: 100
Height of display (in pixels)? [16]: 32
Enable pulse duration (in microseconds)? [1]:
Location of the pagefile? [pages_lcd_16x2.py]: pages_lcd_20x4.py
Animation Smoothing (in seconds)? [0.15]:
SYSTEM CONFIGURATION
Location of log file? [/var/log/pydPiper.log]: /var/log/pydPiper.log
Logging Level? [info]:
Time Zone? [US/Eastern]:
24-hour clock? [FALSE]: true
Temperature Scale? [fahrenheit]: celsius
Enable weather? [n]:
MUSIC DISTRIBUTION
Name of distribution?: moode
Server address? [localhost]: localhost
Port? [6600]: 6600
Password?: moodeaudio
UPDATING pydPiper.cfg
Creating pydpiper.service file
pi@moode:~/pydPiper $ sudo /usr/bin/docker run --network=host --privileged -ti -v /var/log:/var/log:rw -v /home/pi/pydPiper:/app:rw dhrone/pydpiper:v0.31-alpha /bin/bash
docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.
See 'docker run --help'.
pi@moode:~/pydPiper $
pi@moode:~/pydPiper $ python pydPiper.py"
I finished step configure.py and the error as the bottom line "Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?"
"i@moode:~/pydPiper $ sudo python configure.py
Creating configuration file for pydPiper
----------------------------------------
STARTUP CONFIGURATION
Startup mode duration (in seconds)? [5]:
DISPLAY CONFIGURATION
Display type?: hd44780_i2c
I2C Port? [1]:
I2C Address? [0x3d]: 0x27
Width of display (in pixels)? [80]: 100
Height of display (in pixels)? [16]: 32
Enable pulse duration (in microseconds)? [1]:
Location of the pagefile? [pages_lcd_16x2.py]: pages_lcd_20x4.py
Animation Smoothing (in seconds)? [0.15]:
SYSTEM CONFIGURATION
Location of log file? [/var/log/pydPiper.log]: /var/log/pydPiper.log
Logging Level? [info]:
Time Zone? [US/Eastern]:
24-hour clock? [FALSE]: true
Temperature Scale? [fahrenheit]: celsius
Enable weather? [n]:
MUSIC DISTRIBUTION
Name of distribution?: moode
Server address? [localhost]: localhost
Port? [6600]: 6600
Password?: moodeaudio
UPDATING pydPiper.cfg
Creating pydpiper.service file
pi@moode:~/pydPiper $ sudo /usr/bin/docker run --network=host --privileged -ti -v /var/log:/var/log:rw -v /home/pi/pydPiper:/app:rw dhrone/pydpiper:v0.31-alpha /bin/bash
docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.
See 'docker run --help'.
pi@moode:~/pydPiper $
pi@moode:~/pydPiper $ python pydPiper.py"