faroit / faroit/python_audio_loading_benchmark

Be more specific on how to run the docker container

Offen
#5 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
152
Forks
11
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

When you are not used to docker the current documentation is not very explicit on how to mount and run the actual docker container.

E.g. when I run the following:
```bash
docker run -v AUDIO:/app/AUDIO audio_benchmark run.sh
```
I get
```
docker: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "exec: \"run.sh\": executable file not found in $PATH": unknown.
ERRO[0000] error waiting for container: context canceled
```

And if I log into the container with
```bash
docker run -v AUDIO:/app/AUDIO -it audio_benchmark
```
I'm in a python console and the content of the folder I'm in is:
```python
>>> import os
>>> os.listdir()
['requirements.txt', 'AUDIO', 'pytorchaudio', 'aubio_src']
```

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.