How to Install and Run the Pawns.app Container in Docker

How to Install and Run the Pawns.app Container in Docker
Michelle Lee
Michelle Lee

Last updated - August 22, 2024

One app - many ways to earn

Download Pawns.app

Many of our users have asked us to put together an accurate tutorial on how to use Pawns.app with Docker. When our marketing manager brought it up, I found the idea intriguing. I have an old PC that’s doing absolutely nothing, and trying to make sense of Linux always sounds like a fun time.

And just like that, it was settled. I’d try it out, write this text to help the community, and hopefully learn something useful along the way. I’ve been thinking about putting together a Pi-hole for a while and using containers for some stuff. A “contained” version of Pawns.app sounds like the perfect way to get into it, so let’s begin!

What Do We Need?

First of all, you need a device that can run Docker (which is available for many different platforms). We’ll be using an old PC with an i7 2600 from 2011. While it may not impress anyone nowadays, it’s still more than capable enough for a task like this and moderate everyday use. You could also use a Raspberry Pi or a similar tiny computer.

For the OS, we’ll go with the latest version of Ubuntu just to play it safe. There’s no particular reason behind this decision – it’s just the distribution I’m most familiar with. It’s probably worth noting that my Linux experience doesn’t go too far beyond using a live USB once every couple of years. Theoretically, any Linux OS will work.

Finally, you need a Pawns.app account. If you don’t have one, check if some of your friends are already members of our community. If they are, ask them for their referral link and use it to sign up. That way, you both get a $3 bonus! If not, just use the button at the end of this page.

Installing Docker

Right after you fire up your PC with Ubuntu, it’s time to install Docker. Set up the repository first so you can install and update Docker from it.

sudo apt-get update
sudo apt-get install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc

Next, you need to add the repository to Apt sources.

echo \
  "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
  $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
  sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update

Finally, it’s time to install Docker. We’ll go with the latest version.

sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

All that’s left to do is to ensure we installed it correctly. The easiest way to do this is by running the hello_world image. The following command downloads the test image and runs it in a container.

sudo docker run hello-world

If you see this, you did everything correctly. Docker is installed, and your test container works. Congratulations!

Configuring the Pawns.app Container

With Docker ready to go, it’s time to set up the Pawns.app container image. Our goal here is to do two things:

  • Get it up and running
  • Ensure it starts automatically on each reboot

We’ll start by downloading the container itself.

sudo docker pull iproyal/pawns-cli:latest

Now, we can run the downloaded image by using the following command. Make sure to change [email protected] and yourpassword with your Pawns.app credentials.

sudo docker run -d --restart=unless-stopped iproyal/pawns-cli:latest [email protected] -password=yourpassword -device-name=Ubuntu -device-id=Ubuntu01 -accept-tos

And you should be good to go. The Pawns.app container should be running with your credentials and making that sweet, sweet passive income in the background. It should also launch automatically when you restart your PC, just like our regular desktop version. Let’s check.

docker container ls -a

This command will give us a list of the containers we used and their current status.

As you can see, my Pawns.app container has been running for 9 minutes. The other two are the hello-world images I used to test if Docker was set up correctly.

Note the CONTAINER ID value for your Pawns.app container because you can use it to check the log. Use the following command, but replace container_ID with yours. Just to be sure we’re all on the same page, the ID of my Pawns.app container in the screenshot above is d6493e77f2d5.

docker container logs container_ID

This command will show you what your Pawns.app container has been up to. Let’s see.

Everything checks out. It loaded fine but couldn’t start for a while because I had the Windows version of Pawns.app running on my home PC. After I turned that one off, the container started working properly without me having to do anything.

Just to make sure everything is 100% legit, we’ll check our active devices on the Pawns.app dashboard.

And it’s right there, nice! I’m a bit confused by the fact that the traffic values from my Pawns.app container logs and the dashboard don’t match (376.9186 vs. 368.5161 GB). However, my earnings are the same, so there’s nothing to worry about.

Final Thoughts

That’s how you get a Pawns.app container running on Ubuntu with very limited knowledge. If you’re wondering how I earned $75, it’s simple – it just works in the background while I do other stuff. So keep it running and be patient. Happy earning!

FAQs

Error: permission denied while trying to connect to the Docker daemon socket

This is a permission issue. Add sudo at the beginning of your command to get elevated privileges. From what I understand, it’s the equivalent of “Run as administrator” on Windows.

Bash: syntax error near unexpected token

If your Pawns.app password contains strange characters, there’s a chance you’ll run into this one. Mine had ( and ). To get around this, just change your password so it only contains numbers and letters. It’s not the most elegant solution, but it works.

How do I stop the container from running?

If you want to stop your container for whatever reason, use the following command:

docker stop container_ID

Just make sure to replace container_ID before you run it.

Michelle Lee
Michelle Lee

Copywriter, Pawns.app

Hailing from the beautiful island of Borneo, Michelle has traveled extensively, but not nearly enough. She has a degree in computer science and a background as a data analyst, so it's no surprise that she is particularly enthusiastic about tech and its impact on how we learn, work, live, and play. Michelle is passionate about both education and food. She's currently focused on living life to the fullest with her family, seamlessly integrating her professional expertise with her dedication to family and personal well-being.

Related articles

  • Climb The Heights of Success with Leaderboard! Track Your In-App Progress and Win Great Prizes
    , ,

    Climb The Heights of Success with Leaderboard! Track Your In-App Progress and Win Great Prizes

    Folks dream about free-falling from tall buildings or other structures of impressive heights. But the Pawns.app tribe — nah! We snooze over the buzz of flying up and crushing the skies of achievement! And our latest feature, Leaderboard, lets you poke through the clouds of exactly those skies, with excellent prizes in return! 🪜 You […] Read more

  • Top Tips on How to Make Money by Playing Video Games in 2024

    Top Tips on How to Make Money by Playing Video Games in 2024

    Who wouldn’t want to earn money playing video games? It’s one of the most popular hobbies and, frankly, the most fun. Any gamer would quit his daytime job and start gaming in a heartbeat. If only they could make it profitable. That’s the tricky part. There is money to be made in the video game […] Read more

  • 15 Games That Pay Instantly to Cash App in 2024

    15 Games That Pay Instantly to Cash App in 2024

    Whether we’re just passing the time, waiting for someone, commuting to work, or just chilling on the couch, let’s be honest: we all reach for our phones. Some of us like to scroll through myriads of reels, others like to open up a simple mobile game.  And since we spend so much time on our […] Read more

  • Top 30+ Essential School Supplies for College Success

    Top 30+ Essential School Supplies for College Success

    College students, it’s time to get behind the desks! 🖥️ Whether you’re to be a freshman or a senior to clock your studies, you need college school supplies. Still, you’re not after all that pops in a bookstore’s window. Join us as we explore the 36 must-haves of college life and boost your productivity and […] Read more

Earn up to $100

Earn Now

Join Pawns.app!

Fun and Safe Cash with Pawns.app!

💸 Earn up to $100 per game offer

💸 Earn up to $5 per survey

💸 Cash out from $5

💸 Get a 10% revenue share from referrals

Join Pawns.app