# Server Side Swift with Kitura - Part 5: | Ray Wenderlich Videos

**URL:** <https://forums.kodeco.com/t/server-side-swift-with-kitura-part-5-ray-wenderlich-videos/43543>\
**Category:** 🎓 Courses & Articles\
**Created:** [June 13, 2018, 3:21am UTC](https://forums.kodeco.com/t/server-side-swift-with-kitura-part-5-ray-wenderlich-videos/43543 "2018-06-13T03:21:52Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![dokun1](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/dokun1/32/108939_2.png) [@dokun1](https://forums.kodeco.com/u/dokun1)\
**Post date:** [June 13, 2018, 3:21am UTC](https://forums.kodeco.com/t/server-side-swift-with-kitura-part-5-ray-wenderlich-videos/43543/1 "2018-06-13T03:21:52Z")

</div>

Let's set up Docker on your machine so that you can easily test your Kitura API on Linux and prepare it for deployment.

* * *
 This is a companion discussion topic for the original entry at [https://www.raywenderlich.com/3770-server-side-swift-with-kitura/lessons/5](https://www.raywenderlich.com/3770-server-side-swift-with-kitura/lessons/5)

---

<div class="post-metadata">

**Author:** ![rcasey](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/rcasey/32/82229_2.png) [@rcasey](https://forums.kodeco.com/u/rcasey)\
**Post date:** [June 20, 2018, 4:56am UTC](https://forums.kodeco.com/t/server-side-swift-with-kitura-part-5-ray-wenderlich-videos/43543/2 "2018-06-20T04:56:57Z")

</div>

I have a mid-2010 MacBook that doesn’t support the Hypervisor Framework. As such, I can’t run Docker for the Mac. I **can** run the Docker Toolbox and have been able to use it with some other tutorials on this site.

When I setup the Docker containers with this tutorial, everything seems to work ok and I get the “Listening on port 8080” message after running the “docker run -it …” command. However, when I go to [http://localhost:8080](http://localhost:8080), I get an “unable to connect to server” message.

Any ideas on what to look for? I’ll do some more digging and see what I can find.

Thanks!

---

<div class="post-metadata">

**Author:** ![rcasey](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/rcasey/32/82229_2.png) [@rcasey](https://forums.kodeco.com/u/rcasey)\
**Post date:** [June 20, 2018, 7:10pm UTC](https://forums.kodeco.com/t/server-side-swift-with-kitura-part-5-ray-wenderlich-videos/43543/3 "2018-06-20T19:10:36Z")

</div>

I was able to get things working! When I run the “Docker Quickstart Terminal” to start the Docker Toolbox, it shows the following message:

**docker is configured to use the default machine with IP 192.168.99.100**

After starting the EmojiJournalServer, I just connect to [http://192.168.99.100:8080](http://192.168.99.100:8080) and I get the Kitura landing page.

On to the next tutorial lesson!

---

<div class="post-metadata">

**Author:** ![shogunkaramazov](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/shogunkaramazov/32/108826_2.png) [@shogunkaramazov](https://forums.kodeco.com/u/shogunkaramazov)\
**Post date:** [June 29, 2018, 3:38pm UTC](https://forums.kodeco.com/t/server-side-swift-with-kitura-part-5-ray-wenderlich-videos/43543/4 "2018-06-29T15:38:24Z")

</div>

@rcasey Thank you for sharing the solution - much appreciated!

---

<div class="post-metadata">

**Author:** ![chris](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/chris/32/76289_2.png) [@chris](https://forums.kodeco.com/u/chris)\
**Post date:** [July 3, 2018, 7:02am UTC](https://forums.kodeco.com/t/server-side-swift-with-kitura-part-5-ray-wenderlich-videos/43543/5 "2018-07-03T07:02:06Z")

</div>

Trying to follow the video tutorial, however Im not able to pull the repo?

```
MacBook-Pro:EmojiJournalServer chrisleebeer$ docker run -it -p 8080:8080 -v $PWD:/root/starter-backend-swift-kitura -w /root/starter-backend-swift-kitura swift-kitura-run sh -c .build-ubuntu/release/Swift-Backend-Kitura
Unable to find image 'swift-kitura-run:latest' locally
docker: Error response from daemon: pull access denied for swift-kitura-run, repository does not exist or may require 'docker login'.

```

Must be doing something wrong.  
Thanks in advance!

---

<div class="post-metadata">

**Author:** ![shogunkaramazov](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/shogunkaramazov/32/108826_2.png) [@shogunkaramazov](https://forums.kodeco.com/u/shogunkaramazov)\
**Post date:** [July 3, 2018, 11:32am UTC](https://forums.kodeco.com/t/server-side-swift-with-kitura-part-5-ray-wenderlich-videos/43543/6 "2018-07-03T11:32:20Z")

</div>

@dokun1 Can you please help with this when you get a chance? Thank you - much appreciated! :]

---

<div class="post-metadata">

**Author:** ![dokun1](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/dokun1/32/108939_2.png) [@dokun1](https://forums.kodeco.com/u/dokun1)\
**Post date:** [July 3, 2018, 2:53pm UTC](https://forums.kodeco.com/t/server-side-swift-with-kitura-part-5-ray-wenderlich-videos/43543/7 "2018-07-03T14:53:24Z")

</div>

Hi @chris - have you tried the `runDocker` shell script included with the course?

We use two docker containers for this server - one to build the application and spit out the executable, and one to run the compiled executable. You can either run the provided script to do both, or take a look at the contents to check how we’re doing this.

Let me know if this is helpful!

---

<div class="post-metadata">

**Author:** ![boersma](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/boersma/32/101878_2.png) [@boersma](https://forums.kodeco.com/u/boersma)\
**Post date:** [March 8, 2019, 10:57am UTC](https://forums.kodeco.com/t/server-side-swift-with-kitura-part-5-ray-wenderlich-videos/43543/8 "2019-03-08T10:57:26Z")

</div>

Provided link is not working!

---

<div class="post-metadata">

**Author:** ![shogunkaramazov](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/shogunkaramazov/32/108826_2.png) [@shogunkaramazov](https://forums.kodeco.com/u/shogunkaramazov)\
**Post date:** [March 12, 2019, 1:19am UTC](https://forums.kodeco.com/t/server-side-swift-with-kitura-part-5-ray-wenderlich-videos/43543/9 "2019-03-12T01:19:38Z")

</div>

@dokun1 Can you please help with this when you get a chance? Thank you - much appreciated! :]

---

<div class="post-metadata">

**Author:** ![dokun1](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/dokun1/32/108939_2.png) [@dokun1](https://forums.kodeco.com/u/dokun1)\
**Post date:** [April 2, 2019, 8:31pm UTC](https://forums.kodeco.com/t/server-side-swift-with-kitura-part-5-ray-wenderlich-videos/43543/10 "2019-04-02T20:31:24Z")

</div>

Hi @boersma! For now, use this: [https://cognitiveclass.ai/courses/docker-essentials/](https://cognitiveclass.ai/courses/docker-essentials/)

---

<div class="post-metadata">

**Author:** ![unipheas](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/unipheas/32/87161_2.png) [@unipheas](https://forums.kodeco.com/u/unipheas)\
**Post date:** [April 3, 2019, 10:26am UTC](https://forums.kodeco.com/t/server-side-swift-with-kitura-part-5-ray-wenderlich-videos/43543/11 "2019-04-03T10:26:06Z")

</div>

If you’re using MacOS and also use Homebrew then do not install with the .dmg. You’ll need/want to install the IBM Cloud CLI through Homebrew and it’ll fail because you already have Docker installed. To install the CLI and Docker run this command : `brew cask install ibm-cloud-cli`

---

<div class="post-metadata">

**Author:** ![ckbrown](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/ckbrown/32/107414_2.png) [@ckbrown](https://forums.kodeco.com/u/ckbrown)\
**Post date:** [April 8, 2019, 2:55am UTC](https://forums.kodeco.com/t/server-side-swift-with-kitura-part-5-ray-wenderlich-videos/43543/12 "2019-04-08T02:55:19Z")

</div>

For anyone having trouble with the ‘docker run -v …’ section, the issue is most likely that there is a space in the path coming from $PWD so the solution is to quote that parameter like so:

docker run -v “$PWD:/root/project” -w …
