LOGIN
Steven Reubenstone
39
Community Expert
Mechanical Engineer & Tinkerer of Things.
 · New YorkU.S.
Share
Report
Get Link
STORY

Sai Prasad is a talented python developer. Maybe you two can link up here? I love docker.

4 likes 
Like
Award Contribution
Michaela Poblete
2
Apprentice
Collaborizm Mentor & Head of Community
 · DavisU.S.
Share
Report
Get Link

Have you found other team members that are great python developers?

Like
1 like 
Award Contribution
Rahul
0
Noob
watch..work..wade...! (Project Leader)
 · HyderabadIndia
Share
Report
Get Link

Thank you for the responses. 😉

Anyone experienced in developing Docker Applications is of great help!

Like
0 like 
Award Contribution
Rahul
0
Noob
watch..work..wade...! (Project Leader)
 · HyderabadIndia
Share
Report
Get Link

I have the Client and server code in python.
I tried to build and run the containers.
Though they are building images successfully there is an error popping out.

#server code
#!/usr/bin/python

import socket

s = socket.socket()
host = socket.gethostname()
port = 12345
s.bind((host, port))

s.listen(5)
while True:
c, addr = s.accept()
print ‘Got connection from’, addr
c.send(‘Thank you for connecting’)
c.close()

#client code
#!/usr/bin/python

import socket

s = socket.socket()
host = socket.gethostname()
port = 12345

s.connect((host, port))
print s.recv(1024)
s.close

#docker file

FROM python:2-onbuild
CMD [“python”,"./server.py"]


Check the error occurring at the client terminal

Like
1 like 
Award Contribution
Sai Prasad
26
Community Expert
Software Dev :) Let's build some dream ideas.
 · BhubaneswarIndia
Share
Report
Get Link

Rahul can you briefly explain what are you trying to build or achieve??

Like
1 like 
Award Contribution
Rahul
0
Noob
watch..work..wade...! (Project Leader)
 · HyderabadIndia
Share
Report
Get Link

We are trying to build a ‘multi-client’ -Server application in Python and run it using docker containers.

Like
1 like 
Award Contribution
Leave a reply...
DISCOVER
CHAT
HIRE
ACTIVITY
FEED
New Post
Help
Start Project
Online Users
Share Link