Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with "creating container" #39

Open
adamk528 opened this issue Jan 7, 2021 · 2 comments
Open

Error with "creating container" #39

adamk528 opened this issue Jan 7, 2021 · 2 comments

Comments

@adamk528
Copy link

adamk528 commented Jan 7, 2021

Hello! I hope this message finds you well. I previously was able to run this code, but am now having trouble. When I ran the test to see if a docker was needed, it said it was. But after installing it and trying running tk_init() as copied from the code provided, I receive the following errors:
Screen Shot 2021-01-06 at 11 58 56 PM

@mkermanim
Copy link

mkermanim commented Nov 19, 2022

I also encounter a similar problem trying to initialize tiktokr. When I run the code, I get this error message:

executor failed running [/bin/sh -c apt-get update && apt-get install -y libcurl4-openssl-dev libssl-dev libssh2-1-dev libxml2-dev zlib1g-dev gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget && R -e "install.packages(c('devtools'))" R -e "devtools::install_github('benjaminguinaudeau/tiktokr')" R -e "install.packages('plumber')" R -e "reticulate::install_miniconda()" R -e "tiktokr::tk_install()" R -e "tiktokr::tk_init() ; tiktokr::get_signature('test')"]: exit code: 1
✖ Unable to install image tiktoksignature Creating container tiktoksignatureand hosting plumber-API on port localhost:32768 Unable to find image 'tiktoksignature:latest' locally docker: Error response from daemon: pull access denied for tiktoksignature, repository does not exist or may require 'docker login': denied: requested access to the resource is denied. See 'docker run --help'. ✖ Unable to create containertiktoksignature`
Container was stopped. Starting container
Error response from daemon: No such container: tiktoksignature
Error: failed to start containers: tiktoksignature
Error in curl::curl_fetch_memory(url, handle = handle) :
Failed to connect to localhost port 32768: Connection refused
In addition: Warning messages:
1: In system("docker run -dt -p 32768:6543 --name tiktoksignature tiktoksignature:latest", :
running command 'docker run -dt -p 32768:6543 --name tiktoksignature tiktoksignature:latest' had status 125
2: In system("docker start tiktoksignature", intern = T) :
running command 'docker start tiktoksignature' had status 1
Error response from daemon: No such container: tiktoksignature
Error response from daemon: No such container: tiktoksignature
Error: failed to start containers: tiktoksignature
Error in curl::curl_fetch_memory(url, handle = handle) :
Failed to connect to localhost port 32768: Connection refused
In addition: Warning messages:
1: In system("docker stop tiktoksignature", intern = T) :
running command 'docker stop tiktoksignature' had status 1
2: In system("docker start tiktoksignature", intern = T) :
running command 'docker start tiktoksignature' had status 1
Error: $ operator is invalid for atomic vectors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@mkermanim @adamk528 and others